Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.186/2.186, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001036/0.001036, allocations: 187.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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 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.0009345/0.0009343, allocations: 105.4 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.058e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2755, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9801/1.256, allocations: 179.1 MB / 1.381 GB, free: 17.51 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.256, allocations: 92.44 kB / 1.381 GB, free: 17.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1741/1.43, allocations: 76.51 MB / 1.456 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/1.43, allocations: 0 / 1.456 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.838e-05/1.43, allocations: 36 kB / 1.456 GB, free: 10.78 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003125/1.433, allocations: 1.625 MB / 1.457 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.433, allocations: 8.562 kB / 1.457 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/1.436, allocations: 488.9 kB / 1.458 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/1.438, allocations: 1.292 MB / 1.459 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.676e-05/1.438, allocations: 48 kB / 1.459 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/1.438, allocations: 91.55 kB / 1.459 GB, free: 7.543 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003237/1.442, allocations: 2.264 MB / 1.462 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/1.446, allocations: 2.891 MB / 1.464 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.531e-05/1.446, allocations: 0 / 1.464 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/1.446, allocations: 4 kB / 1.464 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000657/1.447, allocations: 181.8 kB / 1.465 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/1.467, allocations: 14.49 MB / 1.479 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/1.469, allocations: 1.758 MB / 1.48 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001947/1.471, allocations: 1.494 MB / 1.482 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.521e-05/1.471, allocations: 17.28 kB / 1.482 GB, free: 3.504 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/1.471, allocations: 43.88 kB / 1.482 GB, free: 3.449 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 3.466e-06/1.471, allocations: 4 kB / 1.482 GB, free: 3.445 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183): time 0.04005/1.511, allocations: 14.27 MB / 1.496 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/1.511, allocations: 69.41 kB / 1.496 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/1.513, allocations: 0.981 MB / 1.497 GB, free: 4.098 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/1.513, allocations: 25.7 kB / 1.497 GB, free: 4.066 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005729/1.514, allocations: 0.7796 MB / 1.498 GB, free: 3.273 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006414/1.515, allocations: 0.6004 MB / 1.498 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/1.515, allocations: 4 kB / 1.498 GB, free: 2.66 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.515, allocations: 381.9 kB / 1.499 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002856/1.518, allocations: 2.054 MB / 1.501 GB, free: 232 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003022/1.521, allocations: 2.373 MB / 1.503 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005284/1.526, allocations: 2.754 MB / 1.506 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.526, allocations: 8 kB / 1.506 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.01845/1.545, allocations: 8.478 MB / 1.514 GB, free: 2.477 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.554e-05/1.545, allocations: 8 kB / 1.514 GB, free: 2.469 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/1.545, allocations: 12 kB / 1.514 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01479/1.56, allocations: 4.944 MB / 1.519 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.561, allocations: 247.6 kB / 1.519 GB, free: 13.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03524/1.596, allocations: 22.96 MB / 1.541 GB, free: 5.992 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/1.599, allocations: 91.77 kB / 1.541 GB, free: 5.902 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005752/1.599, allocations: 271.7 kB / 1.542 GB, free: 5.637 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 16,(8,100.0%) 38} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of prepare postOptimizeDAE: time 0.0004896/1.6, allocations: 124.5 kB / 1.542 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01562/1.615, allocations: 7.628 MB / 1.549 GB, free: 13.85 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/1.616, allocations: 138.3 kB / 1.549 GB, free: 13.71 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0165/1.633, allocations: 8.034 MB / 1.557 GB, free: 5.648 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.027e-05/1.633, allocations: 20 kB / 1.557 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/1.633, allocations: 16 kB / 1.557 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-05/1.633, allocations: 11.91 kB / 1.557 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02446/1.657, allocations: 12.42 MB / 1.569 GB, free: 9.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/1.657, allocations: 8.094 kB / 1.569 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/1.658, allocations: 119.8 kB / 1.57 GB, free: 8.918 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01389/1.672, allocations: 4.719 MB / 1.574 GB, free: 4.188 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003527/1.672, allocations: 63.89 kB / 1.574 GB, free: 4.125 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0295/1.702, allocations: 19.24 MB / 1.593 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/1.702, allocations: 7.938 kB / 1.593 GB, free: 0.5781 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01533/1.717, allocations: 7.672 MB / 1.601 GB, free: 8.734 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.719, allocations: 0.827 MB / 1.601 GB, free: 7.887 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.719, allocations: 8 kB / 1.601 GB, free: 7.879 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.721, allocations: 59.84 kB / 1.601 GB, free: 7.82 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005994/1.721, allocations: 189.6 kB / 1.602 GB, free: 7.637 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003331/1.722, allocations: 179.9 kB / 1.602 GB, free: 7.461 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001101/1.723, allocations: 0.7568 MB / 1.603 GB, free: 6.703 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/1.723, allocations: 0 / 1.603 GB, free: 6.703 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002897/1.726, allocations: 0.6914 MB / 1.603 GB, free: 6.012 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 62 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,100.0%) 8,(14,76.0%) 24} * Non-linear torn systems: 2 {8 16,8 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.01583/1.741, allocations: 9.424 MB / 1.612 GB, free: 12.44 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.009249/1.751, allocations: 5.671 MB / 1.618 GB, free: 6.75 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.751, allocations: 0 / 1.618 GB, free: 6.75 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.007106/1.758, allocations: 3.375 MB / 1.621 GB, free: 3.352 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/1.759, allocations: 157.8 kB / 1.621 GB, free: 3.199 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/1.767, allocations: 4.733 MB / 1.626 GB, free: 14.36 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.769, allocations: 1.823 MB / 1.628 GB, free: 12.51 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001161/1.77, allocations: 410.7 kB / 1.628 GB, free: 12.1 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009462/1.771, allocations: 0.671 MB / 1.629 GB, free: 11.43 MB / 1.042 GB Notification: Performance of SimCode: time 6.91e-07/1.771, allocations: 4 kB / 1.629 GB, free: 11.43 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/1.896, allocations: 75.56 MB / 1.703 GB, free: 15.92 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/1.896, allocations: 170.8 kB / 1.703 GB, free: 15.73 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.125/5.021, allocations: 0 / 1.703 GB, free: 15.73 MB / 1.12 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat does not exist to compare? outputFormat=mat