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.461/2.461, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001026/0.001026, allocations: 180.9 kB / 492.3 MB, free: 0.6328 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.616/1.616, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009123/0.0009121, allocations: 91.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.593e-05/3.595e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3609, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.391, allocations: 179.1 MB / 1.387 GB, free: 17.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.391, allocations: 96.78 kB / 1.387 GB, free: 17.36 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2082/1.599, allocations: 91.7 MB / 1.477 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.753e-06/1.599, allocations: 0 / 1.477 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001355/1.6, allocations: 51.98 kB / 1.477 GB, free: 5.992 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.005012/1.605, allocations: 2.118 MB / 1.479 GB, free: 3.961 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/1.605, allocations: 12.03 kB / 1.479 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005665/1.605, allocations: 373.7 kB / 1.479 GB, free: 3.723 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/1.609, allocations: 0.7578 MB / 1.48 GB, free: 2.965 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/1.612, allocations: 1.532 MB / 1.482 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/1.612, allocations: 176 kB / 1.482 GB, free: 1.645 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/1.613, allocations: 237 kB / 1.482 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006224/1.619, allocations: 3.811 MB / 1.486 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/1.619, allocations: 3.938 kB / 1.486 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/1.619, allocations: 104 kB / 1.486 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001755/1.619, allocations: 160.5 kB / 1.486 GB, free: 14.29 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/1.625, allocations: 3.175 MB / 1.489 GB, free: 11.1 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01912/1.644, allocations: 16.49 MB / 1.505 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/1.647, allocations: 2.123 MB / 1.507 GB, free: 6.875 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008274/1.648, allocations: 0.582 MB / 1.508 GB, free: 6.285 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/1.648, allocations: 101.6 kB / 1.508 GB, free: 6.168 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.648, allocations: 39.12 kB / 1.508 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=72): time 2.945e-06/1.648, allocations: 0 / 1.508 GB, free: 6.121 MB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.004228/1.652, allocations: 2.574 MB / 1.511 GB, free: 3.516 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/1.652, allocations: 115.5 kB / 1.511 GB, free: 3.379 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.654, allocations: 0.8962 MB / 1.512 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.26e-05/1.654, allocations: 37.7 kB / 1.512 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/1.654, allocations: 1.095 MB / 1.513 GB, free: 1.301 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.655, allocations: 276.2 kB / 1.513 GB, free: 1.027 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/1.655, allocations: 28.06 kB / 1.513 GB, free: 1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002657/1.655, allocations: 414.7 kB / 1.513 GB, free: 0.5859 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/1.656, allocations: 0.5856 MB / 1.514 GB, free: 0 / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/1.657, allocations: 1.123 MB / 1.515 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/1.658, allocations: 0.8333 MB / 1.516 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.658, allocations: 8 kB / 1.516 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002817/1.661, allocations: 1.935 MB / 1.518 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/1.661, allocations: 12 kB / 1.518 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/1.661, allocations: 24.66 kB / 1.518 GB, free: 11.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004421/1.662, allocations: 159.3 kB / 1.518 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.663, allocations: 347.4 kB / 1.518 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/1.663, allocations: 35.86 kB / 1.518 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/1.664, allocations: 135.6 kB / 1.518 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/1.664, allocations: 67.98 kB / 1.519 GB, free: 11.05 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.0002052/1.664, allocations: 190 kB / 1.519 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.664, allocations: 110.7 kB / 1.519 GB, free: 10.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/1.666, allocations: 1.201 MB / 1.52 GB, free: 9.523 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.666, allocations: 8 kB / 1.52 GB, free: 9.516 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.567e-06/1.666, allocations: 7.953 kB / 1.52 GB, free: 9.508 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/1.666, allocations: 3.984 kB / 1.52 GB, free: 9.504 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005386/1.672, allocations: 3.772 MB / 1.524 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.672, allocations: 4 kB / 1.524 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000621/1.672, allocations: 155.8 kB / 1.524 GB, free: 5.426 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/1.673, allocations: 147.5 kB / 1.524 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/1.673, allocations: 27.92 kB / 1.524 GB, free: 5.242 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.595e-06/1.673, allocations: 4 kB / 1.524 GB, free: 5.238 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.673, allocations: 7.938 kB / 1.524 GB, free: 5.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001764/1.675, allocations: 1.538 MB / 1.526 GB, free: 3.578 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004628/1.675, allocations: 291.7 kB / 1.526 GB, free: 3.273 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/1.675, allocations: 20 kB / 1.526 GB, free: 3.254 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/1.676, allocations: 71.98 kB / 1.526 GB, free: 3.184 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.676, allocations: 68.36 kB / 1.526 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/1.676, allocations: 20 kB / 1.526 GB, free: 3.098 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008643/1.677, allocations: 0.6878 MB / 1.527 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/1.677, allocations: 0 / 1.527 GB, free: 2.395 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00134/1.678, allocations: 411.9 kB / 1.527 GB, free: 1.992 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.002228/1.68, allocations: 2.816 MB / 1.53 GB, free: 15.07 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00218/1.683, allocations: 1.65 MB / 1.531 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.683, allocations: 0 / 1.531 GB, free: 13.34 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008176/1.683, allocations: 0.8428 MB / 1.532 GB, free: 12.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001171/1.685, allocations: 232.7 kB / 1.532 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/1.691, allocations: 3.661 MB / 1.536 GB, free: 8.438 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00176/1.693, allocations: 1.96 MB / 1.538 GB, free: 6.441 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001212/1.694, allocations: 433.5 kB / 1.538 GB, free: 6.016 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008964/1.695, allocations: 0.7141 MB / 1.539 GB, free: 5.301 MB / 0.948 GB Notification: Performance of SimCode: time 8.71e-07/1.695, allocations: 0 / 1.539 GB, free: 5.301 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04832/1.743, allocations: 27.56 MB / 1.566 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.744, allocations: 195.7 kB / 1.566 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/4.148, allocations: 5.906 kB / 1.566 GB, free: 9.855 MB / 0.9792 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