Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.836 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009993/0.0009995, allocations: 175.5 kB / 316.3 MB, free: 3.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008388/0.0008388, allocations: 90.47 kB / 0.6714 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.978e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2225, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7239/0.9464, allocations: 166.4 MB / 1.048 GB, free: 5.488 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/0.9468, allocations: 101.8 kB / 1.048 GB, free: 5.43 MB / 0.6667 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.05128/0.998, allocations: 20.52 MB / 1.068 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9981, allocations: 0 / 1.068 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.975e-05/0.9981, allocations: 8 kB / 1.068 GB, free: 4.523 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009598/0.9991, allocations: 0.5759 MB / 1.069 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.9991, allocations: 8.562 kB / 1.069 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/1, allocations: 119.9 kB / 1.069 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/1, allocations: 275.1 kB / 1.069 GB, free: 3.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/1.001, allocations: 8 kB / 1.069 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/1.001, allocations: 12 kB / 1.069 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003916/1.001, allocations: 258.8 kB / 1.069 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/1.001, allocations: 359.1 kB / 1.07 GB, free: 3.023 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.001, allocations: 3.938 kB / 1.07 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/1.002, allocations: 0 / 1.07 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.677e-05/1.002, allocations: 24.55 kB / 1.07 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/1.004, allocations: 2.006 MB / 1.072 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/1.005, allocations: 329.5 kB / 1.072 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/1.005, allocations: 173 kB / 1.072 GB, free: 0.6523 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/1.005, allocations: 93.28 kB / 1.072 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/1.005, allocations: 34.19 kB / 1.072 GB, free: 0.5039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=22): time 2.806e-06/1.005, allocations: 4 kB / 1.072 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.002052/1.007, allocations: 0.8673 MB / 1.073 GB, free: 15.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/1.007, allocations: 81.11 kB / 1.073 GB, free: 15.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/1.007, allocations: 195.7 kB / 1.073 GB, free: 15.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/1.007, allocations: 25.7 kB / 1.073 GB, free: 15.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.909e-05/1.008, allocations: 183.2 kB / 1.073 GB, free: 15.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.403e-05/1.008, allocations: 116.4 kB / 1.074 GB, free: 15.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/1.008, allocations: 0 / 1.074 GB, free: 15.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.008, allocations: 336.7 kB / 1.074 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002/1.008, allocations: 152 kB / 1.074 GB, free: 14.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.008, allocations: 268.9 kB / 1.074 GB, free: 14.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/1.009, allocations: 229.2 kB / 1.074 GB, free: 14.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/1.009, allocations: 3.938 kB / 1.074 GB, free: 14.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001009/1.01, allocations: 0.5758 MB / 1.075 GB, free: 13.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000525/1.01, allocations: 1.226 MB / 1.076 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.01, allocations: 4 kB / 1.076 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003653/1.011, allocations: 130.4 kB / 1.076 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/1.011, allocations: 99.5 kB / 1.076 GB, free: 12.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002839/1.014, allocations: 3.832 MB / 1.08 GB, free: 8.539 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/1.014, allocations: 36.03 kB / 1.08 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/1.014, allocations: 23.86 kB / 1.08 GB, free: 8.484 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.217e-06/1.014, allocations: 4 kB / 1.08 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/1.015, allocations: 0.5146 MB / 1.081 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/1.015, allocations: 0 / 1.081 GB, free: 8.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/1.016, allocations: 123.4 kB / 1.081 GB, free: 7.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000394/1.016, allocations: 103.3 kB / 1.081 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006658/1.017, allocations: 1.113 MB / 1.082 GB, free: 6.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002905/1.017, allocations: 36.06 kB / 1.082 GB, free: 6.711 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/1.017, allocations: 23.05 kB / 1.082 GB, free: 6.691 MB / 0.698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.conversion.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001847/1.017, allocations: 116.8 kB / 1.082 GB, free: 6.574 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008521/1.018, allocations: 0.4893 MB / 1.083 GB, free: 6.184 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/1.018, allocations: 23.72 kB / 1.083 GB, free: 6.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000953/1.019, allocations: 0.5234 MB / 1.083 GB, free: 5.766 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.019, allocations: 8 kB / 1.083 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.019, allocations: 0 / 1.083 GB, free: 5.758 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.019, allocations: 7.984 kB / 1.083 GB, free: 5.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/1.021, allocations: 1.191 MB / 1.084 GB, free: 4.691 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.021, allocations: 4.25 kB / 1.084 GB, free: 4.688 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/1.021, allocations: 71.27 kB / 1.085 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003521/1.022, allocations: 132.7 kB / 1.085 GB, free: 4.504 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/1.022, allocations: 4 kB / 1.085 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/1.024, allocations: 3.866 MB / 1.088 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/1.024, allocations: 11.95 kB / 1.088 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/1.025, allocations: 0.8028 MB / 1.089 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/1.025, allocations: 143.1 kB / 1.089 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/1.026, allocations: 0 / 1.089 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002898/1.026, allocations: 35.97 kB / 1.089 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.108e-05/1.026, allocations: 31.83 kB / 1.089 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/1.026, allocations: 15.75 kB / 1.089 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001382/1.026, allocations: 153.8 kB / 1.09 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.026, allocations: 4 kB / 1.09 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007955/1.027, allocations: 147.9 kB / 1.09 GB, free: 15.29 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/1.028, allocations: 2.03 MB / 1.092 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001394/1.03, allocations: 1.019 MB / 1.093 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.03, allocations: 0.5 kB / 1.093 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005395/1.03, allocations: 438.1 kB / 1.093 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/1.031, allocations: 40.56 kB / 1.093 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.032, allocations: 0.637 MB / 1.094 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/1.033, allocations: 0.8187 MB / 1.095 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003686/1.033, allocations: 123.2 kB / 1.095 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/1.033, allocations: 86.97 kB / 1.095 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of SimCode: time 2.81e-07/1.033, allocations: 0 / 1.095 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/1.06, allocations: 7.887 MB / 1.102 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.06, allocations: 180.4 kB / 1.103 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.973/3.034, allocations: 4.031 kB / 1.103 GB, free: 2.379 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1)