Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.321/2.321, allocations: 390.5 MB / 398 MB, free: 10.98 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.001054/0.001054, allocations: 195 kB / 491.2 MB, free: 1.578 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.834/1.834, allocations: 221.5 MB / 0.7868 GB, free: 13.25 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.0008753/0.0008752, allocations: 98.14 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.137e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3045, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.35, allocations: 182.5 MB / 1.391 GB, free: 14.61 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/1.35, allocations: 94.09 kB / 1.391 GB, free: 14.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4422/1.792, allocations: 190.6 MB / 1.577 GB, free: 0.668 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.334e-06/1.792, allocations: 0 / 1.577 GB, free: 0.668 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003894/1.793, allocations: 119.9 kB / 1.577 GB, free: 0.5508 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.01373/1.806, allocations: 3.83 MB / 1.581 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.806, allocations: 8.031 kB / 1.581 GB, free: 12.65 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007162/1.814, allocations: 0.9466 MB / 1.582 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007943/1.822, allocations: 2.976 MB / 1.585 GB, free: 8.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/1.822, allocations: 155.9 kB / 1.585 GB, free: 8.508 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001998/1.824, allocations: 275.9 kB / 1.585 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01167/1.835, allocations: 4.529 MB / 1.589 GB, free: 3.703 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/1.852, allocations: 6.55 MB / 1.596 GB, free: 12.7 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001701/1.852, allocations: 27.78 kB / 1.596 GB, free: 12.68 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004856/1.853, allocations: 15.98 kB / 1.596 GB, free: 12.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/1.853, allocations: 273 kB / 1.596 GB, free: 12.39 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0366/1.89, allocations: 34.08 MB / 1.629 GB, free: 7.121 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/1.893, allocations: 2.089 MB / 1.631 GB, free: 4.914 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001502/1.894, allocations: 1.203 MB / 1.633 GB, free: 3.707 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.849e-05/1.894, allocations: 13.31 kB / 1.633 GB, free: 3.695 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.894, allocations: 47.88 kB / 1.633 GB, free: 3.637 MB / 1.042 GB Notification: Performance of pre-optimization done (n=133): time 3.176e-06/1.894, allocations: 0 / 1.633 GB, free: 3.637 MB / 1.042 GB Notification: Performance of matching and sorting (n=136): time 0.008457/1.903, allocations: 4.376 MB / 1.637 GB, free: 15.21 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.903, allocations: 68.72 kB / 1.637 GB, free: 15.13 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/1.904, allocations: 1.062 MB / 1.638 GB, free: 14.07 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.905, allocations: 25.7 kB / 1.638 GB, free: 14.04 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001276/1.906, allocations: 1.987 MB / 1.64 GB, free: 12.02 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004489/1.906, allocations: 473.1 kB / 1.64 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.644e-05/1.906, allocations: 0 / 1.64 GB, free: 11.55 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.907, allocations: 381.9 kB / 1.641 GB, free: 11.18 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/1.908, allocations: 0.8434 MB / 1.642 GB, free: 10.33 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00156/1.909, allocations: 1.496 MB / 1.643 GB, free: 8.535 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/1.911, allocations: 1.115 MB / 1.644 GB, free: 7.422 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.239e-05/1.911, allocations: 8 kB / 1.644 GB, free: 7.414 MB / 1.057 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005677/1.916, allocations: 3.211 MB / 1.647 GB, free: 4.156 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.917, allocations: 19.89 kB / 1.647 GB, free: 4.137 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/1.917, allocations: 24 kB / 1.647 GB, free: 4.113 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/1.919, allocations: 0.8693 MB / 1.648 GB, free: 3.207 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.92, allocations: 347.4 kB / 1.649 GB, free: 2.867 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/1.939, allocations: 20.36 MB / 1.668 GB, free: 13.13 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.941, allocations: 63.95 kB / 1.669 GB, free: 13.07 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/1.941, allocations: 84 kB / 1.669 GB, free: 12.98 MB / 1.089 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.0003818/1.941, allocations: 169 kB / 1.669 GB, free: 12.81 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004687/1.946, allocations: 2.678 MB / 1.671 GB, free: 10.09 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/1.947, allocations: 197.7 kB / 1.672 GB, free: 9.891 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005144/1.952, allocations: 2.791 MB / 1.674 GB, free: 7.043 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/1.952, allocations: 12 kB / 1.674 GB, free: 7.031 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/1.952, allocations: 12 kB / 1.674 GB, free: 7.02 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/1.952, allocations: 11.92 kB / 1.674 GB, free: 7.008 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/1.964, allocations: 6.384 MB / 1.681 GB, free: 412 kB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/1.964, allocations: 8 kB / 1.681 GB, free: 404 kB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/1.965, allocations: 176.2 kB / 1.681 GB, free: 228 kB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/1.967, allocations: 0.8102 MB / 1.682 GB, free: 15.38 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.967, allocations: 11.94 kB / 1.682 GB, free: 15.36 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/1.987, allocations: 19.45 MB / 1.701 GB, free: 10.53 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/1.987, allocations: 7.938 kB / 1.701 GB, free: 10.52 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005675/1.992, allocations: 3.152 MB / 1.704 GB, free: 7.152 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/1.994, allocations: 434.7 kB / 1.704 GB, free: 6.707 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002171/1.994, allocations: 11.98 kB / 1.704 GB, free: 6.695 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007797/1.995, allocations: 47.88 kB / 1.704 GB, free: 6.648 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/1.995, allocations: 129.1 kB / 1.704 GB, free: 6.52 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.517e-05/1.995, allocations: 36 kB / 1.704 GB, free: 6.484 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001264/1.996, allocations: 0.7771 MB / 1.705 GB, free: 5.715 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.4e-07/1.996, allocations: 3.938 kB / 1.705 GB, free: 5.711 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.003469/2, allocations: 0.75 MB / 1.706 GB, free: 4.961 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.005972/2.006, allocations: 4.894 MB / 1.711 GB, free: 15.88 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.005977/2.012, allocations: 3.732 MB / 1.714 GB, free: 12.03 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.012, allocations: 4 kB / 1.714 GB, free: 12.03 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003825/2.016, allocations: 2.572 MB / 1.717 GB, free: 9.336 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003379/2.019, allocations: 0.5932 MB / 1.717 GB, free: 8.75 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01587/2.035, allocations: 6.657 MB / 1.724 GB, free: 1.977 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003926/2.039, allocations: 3.192 MB / 1.727 GB, free: 14.75 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00178/2.041, allocations: 448.9 kB / 1.727 GB, free: 14.31 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001922/2.043, allocations: 1.546 MB / 1.729 GB, free: 12.77 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/2.043, allocations: 0 / 1.729 GB, free: 12.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8158/2.859, allocations: 56.56 MB / 1.784 GB, free: 309.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/2.859, allocations: 162.2 kB / 1.784 GB, free: 309.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/6.171, allocations: 0 / 1.784 GB, free: 309.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat does not exist to compare? outputFormat=mat