Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.265/2.265, allocations: 390.5 MB / 398 MB, free: 10.94 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.001207/0.001207, allocations: 188.7 kB / 491.2 MB, free: 1.586 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.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001093/0.001093, allocations: 91.89 kB / 0.9269 GB, free: 13.82 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.876e-05/2.857e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3735, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.146/1.52, allocations: 179.2 MB / 1.387 GB, free: 16.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/1.52, allocations: 95.75 kB / 1.388 GB, free: 16.22 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2109/1.731, allocations: 91.35 MB / 1.477 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.413e-06/1.731, allocations: 0 / 1.477 GB, free: 6.953 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001303/1.731, allocations: 55.98 kB / 1.477 GB, free: 6.898 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005903/1.737, allocations: 2.123 MB / 1.479 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.737, allocations: 8.031 kB / 1.479 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004602/1.741, allocations: 0.7574 MB / 1.48 GB, free: 4.098 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/1.745, allocations: 1.531 MB / 1.481 GB, free: 2.887 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/1.745, allocations: 80 kB / 1.481 GB, free: 2.809 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/1.746, allocations: 139.3 kB / 1.481 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005791/1.751, allocations: 2.686 MB / 1.484 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007449/1.759, allocations: 3.473 MB / 1.487 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.497e-05/1.759, allocations: 3.938 kB / 1.487 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002518/1.759, allocations: 7.984 kB / 1.487 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002224/1.759, allocations: 160.5 kB / 1.487 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02158/1.781, allocations: 15.8 MB / 1.503 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/1.784, allocations: 2.065 MB / 1.505 GB, free: 9.82 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008461/1.785, allocations: 0.5741 MB / 1.505 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/1.786, allocations: 101.7 kB / 1.506 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/1.786, allocations: 39.12 kB / 1.506 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.615e-06/1.786, allocations: 0 / 1.506 GB, free: 9.074 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.005161/1.791, allocations: 2.586 MB / 1.508 GB, free: 6.457 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/1.791, allocations: 123.6 kB / 1.508 GB, free: 6.309 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.792, allocations: 0.8324 MB / 1.509 GB, free: 5.473 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.879e-05/1.792, allocations: 25.7 kB / 1.509 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007451/1.793, allocations: 1.091 MB / 1.51 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/1.793, allocations: 268.2 kB / 1.51 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.492e-05/1.793, allocations: 0 / 1.51 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000229/1.794, allocations: 414.7 kB / 1.511 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/1.794, allocations: 0.5583 MB / 1.511 GB, free: 3.094 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/1.795, allocations: 1.088 MB / 1.512 GB, free: 1.762 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/1.797, allocations: 0.9449 MB / 1.513 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/1.797, allocations: 4 kB / 1.513 GB, free: 0.8086 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003479/1.801, allocations: 1.92 MB / 1.515 GB, free: 14.87 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.193e-05/1.801, allocations: 15.95 kB / 1.515 GB, free: 14.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/1.801, allocations: 16 kB / 1.515 GB, free: 14.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004171/1.801, allocations: 159.3 kB / 1.515 GB, free: 14.67 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.802, allocations: 343.5 kB / 1.516 GB, free: 14.33 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.19e-05/1.802, allocations: 39.86 kB / 1.516 GB, free: 14.29 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/1.803, allocations: 107.7 kB / 1.516 GB, free: 14.19 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.804, allocations: 64 kB / 1.516 GB, free: 14.12 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002511/1.804, allocations: 156.4 kB / 1.516 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001901/1.806, allocations: 1.131 MB / 1.517 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.806, allocations: 102.8 kB / 1.517 GB, free: 12.71 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/1.808, allocations: 1.186 MB / 1.518 GB, free: 11.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.808, allocations: 11.94 kB / 1.518 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.808, allocations: 4 kB / 1.518 GB, free: 11.49 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.808, allocations: 3.984 kB / 1.518 GB, free: 11.48 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005623/1.814, allocations: 3.198 MB / 1.522 GB, free: 8.152 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.814, allocations: 4 kB / 1.522 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/1.814, allocations: 155.8 kB / 1.522 GB, free: 7.996 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/1.815, allocations: 139.3 kB / 1.522 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-05/1.815, allocations: 4 kB / 1.522 GB, free: 7.844 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/1.815, allocations: 7.938 kB / 1.522 GB, free: 7.836 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.815, allocations: 8.094 kB / 1.522 GB, free: 7.828 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/1.817, allocations: 1.544 MB / 1.523 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000556/1.818, allocations: 287.7 kB / 1.524 GB, free: 5.867 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/1.818, allocations: 4 kB / 1.524 GB, free: 5.863 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006073/1.818, allocations: 67.89 kB / 1.524 GB, free: 5.797 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/1.819, allocations: 56.44 kB / 1.524 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/1.819, allocations: 24 kB / 1.524 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009602/1.82, allocations: 0.6205 MB / 1.524 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.82, allocations: 0 / 1.524 GB, free: 5.086 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001904/1.822, allocations: 376.1 kB / 1.525 GB, free: 4.719 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003383/1.825, allocations: 2.801 MB / 1.528 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002406/1.827, allocations: 1.577 MB / 1.529 GB, free: 160 kB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.827, allocations: 7.938 kB / 1.529 GB, free: 152 kB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/1.828, allocations: 0.8219 MB / 1.53 GB, free: 15.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.83, allocations: 215.5 kB / 1.53 GB, free: 15.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009601/1.839, allocations: 3.578 MB / 1.534 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.842, allocations: 1.968 MB / 1.536 GB, free: 9.363 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001295/1.843, allocations: 425.1 kB / 1.536 GB, free: 8.945 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009706/1.844, allocations: 0.7257 MB / 1.537 GB, free: 8.219 MB / 0.948 GB Notification: Performance of SimCode: time 1.031e-06/1.844, allocations: 0 / 1.537 GB, free: 8.219 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06131/1.905, allocations: 26.2 MB / 1.562 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.905, allocations: 167 kB / 1.562 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/4.395, allocations: 5.625 kB / 1.562 GB, free: 13.96 MB / 0.9792 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat