Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.223/2.223, allocations: 390.5 MB / 398 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009924/0.0009925, allocations: 176.8 kB / 491.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.695/1.695, allocations: 221.5 MB / 0.7868 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 83.97 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.102e-05/2.105e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.041/1.377, allocations: 184.1 MB / 1.392 GB, free: 14.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/1.378, allocations: 95.8 kB / 1.392 GB, free: 14.32 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42: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.05291/1.431, allocations: 22.84 MB / 1.415 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.073e-06/1.431, allocations: 0 / 1.415 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.926e-05/1.431, allocations: 8 kB / 1.415 GB, free: 13.14 MB / 0.8386 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.001116/1.432, allocations: 0.565 MB / 1.415 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.432, allocations: 12.03 kB / 1.415 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00109/1.433, allocations: 123.8 kB / 1.415 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/1.433, allocations: 281.2 kB / 1.416 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.434, allocations: 8 kB / 1.416 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/1.434, allocations: 12 kB / 1.416 GB, free: 12.11 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004317/1.434, allocations: 253.3 kB / 1.416 GB, free: 11.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005235/1.435, allocations: 358.3 kB / 1.416 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.435, allocations: 4 kB / 1.416 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/1.435, allocations: 3.938 kB / 1.416 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/1.435, allocations: 32.44 kB / 1.416 GB, free: 11.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/1.437, allocations: 2 MB / 1.418 GB, free: 9.633 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/1.438, allocations: 326.4 kB / 1.418 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/1.438, allocations: 173.9 kB / 1.419 GB, free: 9.266 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/1.438, allocations: 89.28 kB / 1.419 GB, free: 9.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/1.438, allocations: 38 kB / 1.419 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.804e-06/1.438, allocations: 0 / 1.419 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.002123/1.44, allocations: 0.8812 MB / 1.42 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/1.44, allocations: 81.11 kB / 1.42 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/1.441, allocations: 185.7 kB / 1.42 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/1.441, allocations: 29.7 kB / 1.42 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/1.441, allocations: 182.3 kB / 1.42 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.615e-05/1.441, allocations: 115.1 kB / 1.42 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/1.441, allocations: 4.031 kB / 1.42 GB, free: 7.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.441, allocations: 343.7 kB / 1.42 GB, free: 7.512 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/1.441, allocations: 154.1 kB / 1.421 GB, free: 7.418 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/1.441, allocations: 262.8 kB / 1.421 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/1.442, allocations: 223.4 kB / 1.421 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/1.442, allocations: 0 / 1.421 GB, free: 7.023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001025/1.443, allocations: 0.5803 MB / 1.422 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004059/1.443, allocations: 1.224 MB / 1.423 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.443, allocations: 4 kB / 1.423 GB, free: 5.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003834/1.444, allocations: 122.8 kB / 1.423 GB, free: 5.152 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/1.444, allocations: 107 kB / 1.423 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002573/1.447, allocations: 3.834 MB / 1.427 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/1.447, allocations: 31.95 kB / 1.427 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/1.447, allocations: 15.31 kB / 1.427 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-06/1.447, allocations: 9.531 kB / 1.427 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009756/1.448, allocations: 0.5115 MB / 1.427 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/1.448, allocations: 416 / 1.427 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002752/1.449, allocations: 129.5 kB / 1.427 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/1.449, allocations: 103.2 kB / 1.428 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006822/1.45, allocations: 1.121 MB / 1.429 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/1.45, allocations: 27.97 kB / 1.429 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.089e-05/1.45, allocations: 15.88 kB / 1.429 GB, free: 15.31 MB / 0.8542 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.0001888/1.45, allocations: 116.4 kB / 1.429 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009021/1.451, allocations: 497.7 kB / 1.429 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.836e-05/1.451, allocations: 27.66 kB / 1.429 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/1.452, allocations: 0.5368 MB / 1.43 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.452, allocations: 4 kB / 1.43 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.452, allocations: 4 kB / 1.43 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.452, allocations: 3.984 kB / 1.43 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/1.454, allocations: 1.2 MB / 1.431 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.454, allocations: 4 kB / 1.431 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/1.455, allocations: 71.95 kB / 1.431 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003544/1.455, allocations: 134 kB / 1.431 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/1.455, allocations: 4 kB / 1.431 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/1.458, allocations: 3.864 MB / 1.435 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.458, allocations: 4 kB / 1.435 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/1.459, allocations: 0.8141 MB / 1.436 GB, free: 8.371 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/1.459, allocations: 136.5 kB / 1.436 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/1.459, allocations: 4 kB / 1.436 GB, free: 8.227 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003168/1.459, allocations: 31.97 kB / 1.436 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/1.459, allocations: 39.58 kB / 1.436 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/1.459, allocations: 11.95 kB / 1.436 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001715/1.46, allocations: 155.1 kB / 1.436 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.71e-07/1.46, allocations: 0 / 1.436 GB, free: 8.031 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0008921/1.461, allocations: 151.9 kB / 1.436 GB, free: 7.883 MB / 0.8542 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.001614/1.462, allocations: 2.023 MB / 1.438 GB, free: 5.895 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001511/1.464, allocations: 1.028 MB / 1.439 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.464, allocations: 0 / 1.439 GB, free: 5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/1.464, allocations: 439.4 kB / 1.44 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/1.465, allocations: 50.03 kB / 1.44 GB, free: 4.574 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/1.466, allocations: 0.6267 MB / 1.44 GB, free: 3.969 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/1.466, allocations: 0.8113 MB / 1.441 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003777/1.467, allocations: 115.2 kB / 1.441 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/1.467, allocations: 88.95 kB / 1.441 GB, free: 3 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/1.467, allocations: 3.938 kB / 1.441 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/1.495, allocations: 7.892 MB / 1.449 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/1.496, allocations: 170 kB / 1.449 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.148/3.644, allocations: 0 / 1.449 GB, free: 10.97 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACDCConverter.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACDCConverter_res.mat does not exist to compare? outputFormat=mat