Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.365/2.365, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001168/0.001168, allocations: 184.8 kB / 487.4 MB, free: 5.043 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.897/1.897, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 99.77 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 5 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8954/1.158, allocations: 178.4 MB / 1.38 GB, free: 18.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/1.159, allocations: 95.28 kB / 1.38 GB, free: 18.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2069/1.366, allocations: 91.35 MB / 1.47 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.723e-06/1.366, allocations: 0 / 1.47 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001083/1.366, allocations: 52 kB / 1.47 GB, free: 15.63 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.004544/1.37, allocations: 2.115 MB / 1.472 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.37, allocations: 16.48 kB / 1.472 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/1.375, allocations: 0.757 MB / 1.472 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/1.378, allocations: 1.533 MB / 1.474 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.132e-05/1.378, allocations: 76 kB / 1.474 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004265/1.378, allocations: 136 kB / 1.474 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004742/1.383, allocations: 2.695 MB / 1.477 GB, free: 9.609 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/1.389, allocations: 3.468 MB / 1.48 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.573e-05/1.389, allocations: 7.938 kB / 1.48 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/1.39, allocations: 4 kB / 1.48 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001943/1.39, allocations: 160.5 kB / 1.48 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01853/1.408, allocations: 15.8 MB / 1.496 GB, free: 4.594 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/1.411, allocations: 2.077 MB / 1.498 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007935/1.412, allocations: 0.5741 MB / 1.498 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/1.412, allocations: 97.64 kB / 1.498 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/1.412, allocations: 43.12 kB / 1.498 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=72): time 2.955e-06/1.412, allocations: 0 / 1.498 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of matching and sorting (n=76): time 0.004575/1.417, allocations: 2.593 MB / 1.501 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.417, allocations: 115.6 kB / 1.501 GB, free: 14.83 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.418, allocations: 0.8324 MB / 1.502 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/1.418, allocations: 25.7 kB / 1.502 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007323/1.419, allocations: 1.095 MB / 1.503 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/1.419, allocations: 272.1 kB / 1.503 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/1.419, allocations: 0 / 1.503 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.42, allocations: 406.7 kB / 1.504 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00077/1.42, allocations: 0.5583 MB / 1.504 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001036/1.421, allocations: 1.092 MB / 1.505 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/1.423, allocations: 0.9371 MB / 1.506 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.521e-05/1.423, allocations: 11.95 kB / 1.506 GB, free: 9.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003209/1.426, allocations: 1.909 MB / 1.508 GB, free: 7.391 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/1.426, allocations: 16.12 kB / 1.508 GB, free: 7.375 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/1.426, allocations: 23.95 kB / 1.508 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004234/1.427, allocations: 159.3 kB / 1.508 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.428, allocations: 343.4 kB / 1.509 GB, free: 6.848 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.993e-05/1.428, allocations: 35.86 kB / 1.509 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009797/1.429, allocations: 111.6 kB / 1.509 GB, free: 6.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/1.429, allocations: 67.98 kB / 1.509 GB, free: 6.637 MB / 0.9167 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.0001971/1.429, allocations: 156.4 kB / 1.509 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001841/1.431, allocations: 1.131 MB / 1.51 GB, free: 5.324 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/1.431, allocations: 106.8 kB / 1.51 GB, free: 5.219 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/1.433, allocations: 1.17 MB / 1.511 GB, free: 4.023 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.433, allocations: 8 kB / 1.511 GB, free: 4.016 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.433, allocations: 8 kB / 1.511 GB, free: 4.008 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.433, allocations: 3.984 kB / 1.511 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004949/1.438, allocations: 3.19 MB / 1.514 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.438, allocations: 256 / 1.514 GB, free: 0.6758 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006589/1.439, allocations: 167.7 kB / 1.515 GB, free: 0.5117 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003468/1.439, allocations: 139.3 kB / 1.515 GB, free: 372 kB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/1.439, allocations: 8 kB / 1.515 GB, free: 364 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/1.439, allocations: 11.94 kB / 1.515 GB, free: 352 kB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/1.44, allocations: 4 kB / 1.515 GB, free: 348 kB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/1.441, allocations: 1.544 MB / 1.516 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004934/1.442, allocations: 295.6 kB / 1.517 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/1.442, allocations: 4 kB / 1.517 GB, free: 14.37 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/1.443, allocations: 67.89 kB / 1.517 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.443, allocations: 56.44 kB / 1.517 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/1.443, allocations: 28.03 kB / 1.517 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008258/1.444, allocations: 0.6205 MB / 1.517 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.3e-07/1.444, allocations: 0 / 1.517 GB, free: 13.59 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001434/1.445, allocations: 380.1 kB / 1.518 GB, free: 13.21 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.002519/1.448, allocations: 2.796 MB / 1.52 GB, free: 10.31 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002015/1.45, allocations: 1.589 MB / 1.522 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.45, allocations: 0 / 1.522 GB, free: 8.641 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009225/1.451, allocations: 0.8229 MB / 1.523 GB, free: 7.734 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/1.452, allocations: 208.6 kB / 1.523 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/1.46, allocations: 3.582 MB / 1.526 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/1.462, allocations: 1.957 MB / 1.528 GB, free: 1.871 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001184/1.463, allocations: 437.2 kB / 1.529 GB, free: 1.441 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/1.464, allocations: 0.718 MB / 1.529 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of SimCode: time 6.81e-07/1.464, allocations: 0 / 1.529 GB, free: 0.7227 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05126/1.515, allocations: 26.2 MB / 1.555 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.515, allocations: 167.4 kB / 1.555 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.417/3.932, allocations: 0 / 1.555 GB, free: 6.48 MB / 0.9636 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat