Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.306/2.306, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001161/0.001161, allocations: 192.8 kB / 487.4 MB, free: 5.078 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.68/1.68, allocations: 221.5 MB / 0.7824 GB, free: 1.027 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.001109/0.001109, allocations: 91.61 kB / 0.9219 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.922e-05/1.923e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2721, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9614/1.234, allocations: 181.7 MB / 1.384 GB, free: 16.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/1.234, allocations: 90.16 kB / 1.384 GB, free: 16.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4454/1.679, allocations: 190.6 MB / 1.57 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.754e-06/1.679, allocations: 224 / 1.57 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004169/1.68, allocations: 119.9 kB / 1.57 GB, free: 8.996 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01355/1.693, allocations: 3.826 MB / 1.574 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.693, allocations: 8.031 kB / 1.574 GB, free: 5.094 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007467/1.701, allocations: 0.9425 MB / 1.575 GB, free: 4.145 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008194/1.709, allocations: 2.987 MB / 1.577 GB, free: 1.098 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001993/1.709, allocations: 152 kB / 1.578 GB, free: 0.9492 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001458/1.711, allocations: 271.9 kB / 1.578 GB, free: 0.6836 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00961/1.72, allocations: 4.529 MB / 1.582 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/1.734, allocations: 6.55 MB / 1.589 GB, free: 5.148 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001558/1.734, allocations: 31.7 kB / 1.589 GB, free: 5.117 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004395/1.735, allocations: 12 kB / 1.589 GB, free: 5.105 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/1.735, allocations: 273 kB / 1.589 GB, free: 4.836 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03611/1.771, allocations: 34.07 MB / 1.622 GB, free: 15.57 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/1.774, allocations: 2.093 MB / 1.624 GB, free: 13.36 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/1.775, allocations: 1.207 MB / 1.625 GB, free: 12.16 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.78e-05/1.775, allocations: 13.31 kB / 1.625 GB, free: 12.14 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.775, allocations: 51.81 kB / 1.626 GB, free: 12.08 MB / 1.042 GB Notification: Performance of pre-optimization done (n=133): time 3.246e-06/1.775, allocations: 4 kB / 1.626 GB, free: 12.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=136): time 0.008141/1.783, allocations: 4.364 MB / 1.63 GB, free: 7.664 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/1.783, allocations: 68.72 kB / 1.63 GB, free: 7.586 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/1.785, allocations: 1.062 MB / 1.631 GB, free: 6.523 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.316e-05/1.785, allocations: 25.7 kB / 1.631 GB, free: 6.492 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001249/1.786, allocations: 2.003 MB / 1.633 GB, free: 4.465 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/1.787, allocations: 461.2 kB / 1.633 GB, free: 4.008 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-05/1.787, allocations: 3.938 kB / 1.633 GB, free: 4.004 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.787, allocations: 381.9 kB / 1.634 GB, free: 3.625 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/1.788, allocations: 0.8395 MB / 1.635 GB, free: 2.785 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/1.79, allocations: 1.5 MB / 1.636 GB, free: 0.9805 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/1.791, allocations: 1.107 MB / 1.637 GB, free: 15.88 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/1.791, allocations: 8 kB / 1.637 GB, free: 15.87 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005478/1.797, allocations: 3.21 MB / 1.64 GB, free: 12.61 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.553e-05/1.797, allocations: 19.95 kB / 1.64 GB, free: 12.59 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.797, allocations: 20 kB / 1.64 GB, free: 12.57 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002375/1.799, allocations: 0.8773 MB / 1.641 GB, free: 11.66 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/1.8, allocations: 351.4 kB / 1.641 GB, free: 11.31 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01937/1.82, allocations: 20.35 MB / 1.661 GB, free: 5.574 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.822, allocations: 64.08 kB / 1.661 GB, free: 5.512 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/1.822, allocations: 84 kB / 1.661 GB, free: 5.43 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 170 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(3,77.8%) 5,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000355/1.822, allocations: 169.5 kB / 1.662 GB, free: 5.258 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004447/1.827, allocations: 2.686 MB / 1.664 GB, free: 2.523 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/1.827, allocations: 189.8 kB / 1.664 GB, free: 2.336 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/1.832, allocations: 2.803 MB / 1.667 GB, free: 15.48 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/1.832, allocations: 23.94 kB / 1.667 GB, free: 15.45 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.832, allocations: 8 kB / 1.667 GB, free: 15.45 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/1.832, allocations: 8.062 kB / 1.667 GB, free: 15.44 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/1.843, allocations: 6.384 MB / 1.673 GB, free: 8.836 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/1.843, allocations: 4.562 kB / 1.673 GB, free: 8.832 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008126/1.843, allocations: 187.7 kB / 1.674 GB, free: 8.648 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002299/1.846, allocations: 0.7906 MB / 1.674 GB, free: 7.82 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.609e-05/1.846, allocations: 15.98 kB / 1.674 GB, free: 7.805 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.862, allocations: 19.45 MB / 1.693 GB, free: 2.973 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.354e-05/1.862, allocations: 11.94 kB / 1.693 GB, free: 2.961 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0049/1.867, allocations: 3.148 MB / 1.696 GB, free: 15.59 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/1.868, allocations: 438.7 kB / 1.697 GB, free: 15.14 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002207/1.868, allocations: 7.984 kB / 1.697 GB, free: 15.14 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007979/1.869, allocations: 51.91 kB / 1.697 GB, free: 15.09 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/1.869, allocations: 129 kB / 1.697 GB, free: 14.96 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.262e-05/1.87, allocations: 36 kB / 1.697 GB, free: 14.92 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001071/1.871, allocations: 0.7811 MB / 1.698 GB, free: 14.15 MB / 1.12 GB Notification: Performance of sort global known variables: time 4.11e-07/1.871, allocations: 0 / 1.698 GB, free: 14.15 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.002934/1.874, allocations: 0.7499 MB / 1.699 GB, free: 13.4 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005316/1.879, allocations: 4.885 MB / 1.703 GB, free: 8.32 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.005495/1.884, allocations: 3.735 MB / 1.707 GB, free: 4.469 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.884, allocations: 0 / 1.707 GB, free: 4.469 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.00359/1.888, allocations: 2.573 MB / 1.71 GB, free: 1.777 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.891, allocations: 0.5908 MB / 1.71 GB, free: 1.195 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.905, allocations: 6.665 MB / 1.717 GB, free: 10.42 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003279/1.908, allocations: 3.181 MB / 1.72 GB, free: 7.207 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001517/1.91, allocations: 444.9 kB / 1.72 GB, free: 6.77 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001654/1.911, allocations: 1.554 MB / 1.722 GB, free: 5.215 MB / 1.135 GB Notification: Performance of SimCode: time 7.61e-07/1.911, allocations: 4 kB / 1.722 GB, free: 5.211 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7756/2.687, allocations: 56.55 MB / 1.777 GB, free: 297.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001594/2.687, allocations: 165.9 kB / 1.777 GB, free: 297.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.111/5.798, allocations: 0 / 1.777 GB, free: 297.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat