Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.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.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",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.28/2.28, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001215/0.001214, allocations: 183.3 kB / 498.1 MB, free: 5.746 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.471/1.471, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009898/0.0009898, allocations: 98.5 kB / 0.9346 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003967/0.0003967, allocations: 16.86 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3017, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9021/1.204, allocations: 204.4 MB / 1.423 GB, free: 76.31 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.204, allocations: 98.16 kB / 1.423 GB, free: 76.31 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.1777/1.382, allocations: 77.29 MB / 1.498 GB, free: 56.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.234e-06/1.382, allocations: 0 / 1.498 GB, free: 56.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001533/1.382, allocations: 35.06 kB / 1.498 GB, free: 56.62 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005433/1.388, allocations: 1.806 MB / 1.5 GB, free: 55.49 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.388, allocations: 7.844 kB / 1.5 GB, free: 55.49 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009889/1.389, allocations: 266.5 kB / 1.5 GB, free: 55.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003458/1.392, allocations: 0.6641 MB / 1.501 GB, free: 55.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/1.395, allocations: 1.242 MB / 1.502 GB, free: 54.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.782e-05/1.395, allocations: 122.2 kB / 1.502 GB, free: 54.58 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004877/1.396, allocations: 158 kB / 1.502 GB, free: 54.57 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004533/1.4, allocations: 2.647 MB / 1.505 GB, free: 53.85 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.717e-05/1.4, allocations: 3.906 kB / 1.505 GB, free: 53.85 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/1.401, allocations: 71.16 kB / 1.505 GB, free: 53.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.741e-05/1.401, allocations: 92.88 kB / 1.505 GB, free: 53.82 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003187/1.404, allocations: 2.223 MB / 1.507 GB, free: 53.46 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01008/1.414, allocations: 10.91 MB / 1.518 GB, free: 46.15 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/1.415, allocations: 0.7587 MB / 1.519 GB, free: 45.98 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.696e-05/1.415, allocations: 89.28 kB / 1.519 GB, free: 45.88 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/1.415, allocations: 42.72 kB / 1.519 GB, free: 45.84 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=46): time 2.094e-06/1.415, allocations: 0 / 1.519 GB, free: 45.84 MB / 0.9011 GB Notification: Performance of matching and sorting (n=70): time 0.02239/1.438, allocations: 8.394 MB / 1.527 GB, free: 42.65 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/1.438, allocations: 85.52 kB / 1.527 GB, free: 42.56 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/1.439, allocations: 0.8598 MB / 1.528 GB, free: 42.28 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.15e-05/1.439, allocations: 33.27 kB / 1.528 GB, free: 42.25 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/1.439, allocations: 0.7782 MB / 1.529 GB, free: 41.71 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.439, allocations: 242.3 kB / 1.529 GB, free: 41.54 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/1.439, allocations: 22.94 kB / 1.529 GB, free: 41.54 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.44, allocations: 404.8 kB / 1.529 GB, free: 41.19 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009496/1.441, allocations: 0.8019 MB / 1.53 GB, free: 41.04 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.442, allocations: 1.149 MB / 1.531 GB, free: 40.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/1.443, allocations: 1 MB / 1.532 GB, free: 40.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.443, allocations: 7.812 kB / 1.532 GB, free: 40.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.00734/1.45, allocations: 3.51 MB / 1.536 GB, free: 39.23 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009168/1.451, allocations: 4.275 MB / 1.54 GB, free: 34.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/1.451, allocations: 7.75 kB / 1.54 GB, free: 34.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006408/1.458, allocations: 1.863 MB / 1.542 GB, free: 34.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009176/1.459, allocations: 230.7 kB / 1.542 GB, free: 34.01 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007839/1.466, allocations: 7.02 MB / 1.549 GB, free: 31.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.468, allocations: 195.9 kB / 1.549 GB, free: 30.99 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/1.468, allocations: 46 kB / 1.549 GB, free: 30.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/1.468, allocations: 3.906 kB / 1.549 GB, free: 30.99 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005547/1.473, allocations: 2.86 MB / 1.552 GB, free: 30.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/1.474, allocations: 12 kB / 1.552 GB, free: 30.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004084/1.478, allocations: 1.165 MB / 1.553 GB, free: 29.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/1.479, allocations: 289.9 kB / 1.553 GB, free: 29.73 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007121/1.486, allocations: 5.843 MB / 1.559 GB, free: 27.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/1.487, allocations: 156 kB / 1.559 GB, free: 27.38 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/1.487, allocations: 55.66 kB / 1.559 GB, free: 27.37 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.001493/1.489, allocations: 0.8934 MB / 1.56 GB, free: 26.8 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/1.489, allocations: 86.97 kB / 1.56 GB, free: 26.72 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/1.496, allocations: 3.107 MB / 1.563 GB, free: 24.36 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/1.496, allocations: 19.92 kB / 1.563 GB, free: 24.34 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.496, allocations: 7.953 kB / 1.563 GB, free: 24.33 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/1.496, allocations: 7.922 kB / 1.563 GB, free: 24.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.506, allocations: 5.173 MB / 1.568 GB, free: 20.39 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/1.506, allocations: 4 kB / 1.568 GB, free: 20.38 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004234/1.507, allocations: 111.2 kB / 1.568 GB, free: 20.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005958/1.513, allocations: 1.776 MB / 1.57 GB, free: 18.71 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.22e-05/1.513, allocations: 14.88 kB / 1.57 GB, free: 18.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.524, allocations: 10.01 MB / 1.58 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.524, allocations: 0 / 1.58 GB, free: 8.793 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006551/1.531, allocations: 3.102 MB / 1.583 GB, free: 5.59 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008655/1.532, allocations: 336 kB / 1.583 GB, free: 5.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/1.532, allocations: 16 kB / 1.583 GB, free: 5.227 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/1.533, allocations: 139.8 kB / 1.583 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/1.533, allocations: 72.36 kB / 1.583 GB, free: 5.02 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.268e-05/1.533, allocations: 20 kB / 1.583 GB, free: 5 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008906/1.534, allocations: 0.6707 MB / 1.584 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.183e-06/1.534, allocations: 0 / 1.584 GB, free: 4.336 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002564/1.537, allocations: 0.7264 MB / 1.585 GB, free: 3.609 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00727/1.544, allocations: 4.313 MB / 1.589 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.007099/1.551, allocations: 3.594 MB / 1.592 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.551, allocations: 0 / 1.592 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.553, allocations: 1.353 MB / 1.594 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.555, allocations: 245.5 kB / 1.594 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/1.579, allocations: 18.31 MB / 1.612 GB, free: 7.301 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001614/1.581, allocations: 1.75 MB / 1.614 GB, free: 5.52 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001457/1.583, allocations: 0.5186 MB / 1.614 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006873/1.583, allocations: 0.5071 MB / 1.615 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/1.583, allocations: 0 / 1.615 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06657/1.65, allocations: 40.41 MB / 1.654 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/1.65, allocations: 245 kB / 1.654 GB, free: 12.23 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/4.295, allocations: 0 / 1.654 GB, free: 12.23 MB / 0.9792 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N_res.mat does not exist to compare? outputFormat=mat