Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_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.471/2.471, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001242/0.001242, allocations: 184.8 kB / 487.4 MB, free: 5.059 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.569/1.569, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0009922/0.0009922, allocations: 98.19 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.353e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2836, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9975/1.281, allocations: 177.4 MB / 1.379 GB, free: 17.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.281, allocations: 91.25 kB / 1.379 GB, free: 17.95 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4406/1.722, allocations: 174.2 MB / 1.549 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.723e-06/1.722, allocations: 0 / 1.549 GB, free: 14.33 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002308/1.722, allocations: 91.98 kB / 1.55 GB, free: 14.24 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01307/1.735, allocations: 3.338 MB / 1.553 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.735, allocations: 8.031 kB / 1.553 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007191/1.743, allocations: 1.048 MB / 1.554 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006406/1.749, allocations: 2.618 MB / 1.556 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/1.749, allocations: 120 kB / 1.557 GB, free: 6.988 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001558/1.751, allocations: 208 kB / 1.557 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009696/1.761, allocations: 4.416 MB / 1.561 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/1.777, allocations: 6.086 MB / 1.567 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001581/1.777, allocations: 15.78 kB / 1.567 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/1.778, allocations: 15.95 kB / 1.567 GB, free: 11.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009246/1.779, allocations: 383.3 kB / 1.567 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04305/1.822, allocations: 31.34 MB / 1.598 GB, free: 9.426 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/1.825, allocations: 2.103 MB / 1.6 GB, free: 7.309 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/1.828, allocations: 2.162 MB / 1.602 GB, free: 5.145 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/1.828, allocations: 21.3 kB / 1.602 GB, free: 5.125 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/1.828, allocations: 47.88 kB / 1.602 GB, free: 5.07 MB / 1.01 GB Notification: Performance of pre-optimization done (n=146): time 4.067e-06/1.828, allocations: 0 / 1.602 GB, free: 5.07 MB / 1.01 GB Notification: Performance of matching and sorting (n=251): time 0.06464/1.893, allocations: 21.95 MB / 1.624 GB, free: 15.07 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.93e-05/1.893, allocations: 81.41 kB / 1.624 GB, free: 14.97 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003352/1.896, allocations: 1.237 MB / 1.625 GB, free: 13.74 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0007048/1.897, allocations: 25.7 kB / 1.625 GB, free: 13.71 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/1.899, allocations: 1.735 MB / 1.627 GB, free: 11.95 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001463/1.9, allocations: 0.8119 MB / 1.627 GB, free: 11.12 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/1.901, allocations: 0 / 1.627 GB, free: 11.12 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002995/1.901, allocations: 415.1 kB / 1.628 GB, free: 10.71 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004039/1.905, allocations: 2.707 MB / 1.63 GB, free: 8.004 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004361/1.909, allocations: 3.232 MB / 1.634 GB, free: 4.555 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00599/1.915, allocations: 3.37 MB / 1.637 GB, free: 1.18 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/1.915, allocations: 4 kB / 1.637 GB, free: 1.176 MB / 1.042 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.02514/1.941, allocations: 12 MB / 1.649 GB, free: 5.133 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.913e-05/1.941, allocations: 12 kB / 1.649 GB, free: 5.121 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/1.941, allocations: 16 kB / 1.649 GB, free: 5.105 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02445/1.965, allocations: 7.886 MB / 1.656 GB, free: 13.2 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.967, allocations: 295.5 kB / 1.657 GB, free: 12.91 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05247/2.019, allocations: 31.32 MB / 1.687 GB, free: 13.14 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/2.022, allocations: 119.7 kB / 1.687 GB, free: 13.03 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009167/2.023, allocations: 263.8 kB / 1.688 GB, free: 12.77 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 142 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(19,68.1%) 19,(12,50.0%) 18,(12,53.5%) 10} * Non-linear torn systems: 3 {20 18,12 18,12 10} Notification: Performance of prepare postOptimizeDAE: time 0.001023/2.024, allocations: 152.3 kB / 1.688 GB, free: 12.61 MB / 1.104 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02445/2.049, allocations: 11.58 MB / 1.699 GB, free: 0.9961 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/2.05, allocations: 237.2 kB / 1.699 GB, free: 0.7617 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02575/2.076, allocations: 12.17 MB / 1.711 GB, free: 4.543 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.662e-05/2.076, allocations: 28.11 kB / 1.711 GB, free: 4.516 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.479e-05/2.076, allocations: 27.94 kB / 1.711 GB, free: 4.488 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.436e-05/2.076, allocations: 11.95 kB / 1.711 GB, free: 4.477 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03904/2.115, allocations: 17.59 MB / 1.728 GB, free: 2.707 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.842e-05/2.115, allocations: 4 kB / 1.728 GB, free: 2.703 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/2.116, allocations: 163.8 kB / 1.729 GB, free: 2.543 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02406/2.14, allocations: 7.809 MB / 1.736 GB, free: 10.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007314/2.141, allocations: 83.86 kB / 1.736 GB, free: 10.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7722/2.913, allocations: 30.89 MB / 1.766 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/2.913, allocations: 10.84 kB / 1.766 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02621/2.939, allocations: 12.29 MB / 1.778 GB, free: 313.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002732/2.942, allocations: 0.9897 MB / 1.779 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007219/2.943, allocations: 10.08 kB / 1.779 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/2.945, allocations: 113.6 kB / 1.78 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009576/2.946, allocations: 261.7 kB / 1.78 GB, free: 313.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005123/2.946, allocations: 240.4 kB / 1.78 GB, free: 313.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001554/2.948, allocations: 0.9372 MB / 1.781 GB, free: 313.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.61e-07/2.948, allocations: 0 / 1.781 GB, free: 313.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004617/2.952, allocations: 1.146 MB / 1.782 GB, free: 313.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(12,53.5%) 10,(12,50.0%) 18,(19,54.8%) 19} * Non-linear torn systems: 3 {12 10,12 18,20 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.0277/2.98, allocations: 16.36 MB / 1.798 GB, free: 310.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01649/2.997, allocations: 9.035 MB / 1.807 GB, free: 309.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/2.997, allocations: 2.812 kB / 1.807 GB, free: 309.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01248/3.009, allocations: 5.839 MB / 1.813 GB, free: 309.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/3.012, allocations: 422.9 kB / 1.813 GB, free: 309.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01584/3.028, allocations: 8.352 MB / 1.821 GB, free: 307.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/3.031, allocations: 3.188 MB / 1.824 GB, free: 306.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001121/3.033, allocations: 374.4 kB / 1.825 GB, free: 306.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001386/3.034, allocations: 1.446 MB / 1.826 GB, free: 306.8 MB / 1.151 GB Notification: Performance of SimCode: time 8.72e-07/3.034, allocations: 0 / 1.826 GB, free: 306.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/3.164, allocations: 96.78 MB / 1.92 GB, free: 268.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001537/3.164, allocations: 169 kB / 1.921 GB, free: 268.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.433/7.597, allocations: 1.719 kB / 1.921 GB, free: 268.6 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat does not exist to compare? outputFormat=mat