Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.205/2.205, allocations: 390.5 MB / 398 MB, free: 10.96 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.001075/0.001075, allocations: 176.4 kB / 491.2 MB, free: 1.609 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.64/1.64, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.000895/0.0008949, allocations: 90.66 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.272e-05/2.276e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2754, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.042/1.318, allocations: 182.5 MB / 1.391 GB, free: 14.46 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/1.318, allocations: 100.7 kB / 1.391 GB, free: 14.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.4938/1.812, allocations: 192.6 MB / 1.579 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.384e-06/1.812, allocations: 0 / 1.579 GB, free: 14.56 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0006453/1.813, allocations: 128 kB / 1.579 GB, free: 14.44 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01776/1.83, allocations: 4.152 MB / 1.583 GB, free: 10.22 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/1.83, allocations: 12.03 kB / 1.583 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007906/1.838, allocations: 1.009 MB / 1.584 GB, free: 9.195 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01128/1.85, allocations: 3.214 MB / 1.587 GB, free: 5.926 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003622/1.85, allocations: 156 kB / 1.587 GB, free: 5.773 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002865/1.853, allocations: 280 kB / 1.588 GB, free: 5.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01369/1.867, allocations: 4.713 MB / 1.592 GB, free: 0.7812 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/1.887, allocations: 6.708 MB / 1.599 GB, free: 9.605 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/1.887, allocations: 19.78 kB / 1.599 GB, free: 9.586 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005077/1.887, allocations: 12 kB / 1.599 GB, free: 9.574 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003369/1.888, allocations: 269.2 kB / 1.599 GB, free: 9.309 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04275/1.93, allocations: 35.21 MB / 1.633 GB, free: 2.887 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/1.934, allocations: 2.039 MB / 1.635 GB, free: 0.8359 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002038/1.936, allocations: 1.408 MB / 1.637 GB, free: 15.43 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/1.936, allocations: 25.23 kB / 1.637 GB, free: 15.4 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.936, allocations: 55.83 kB / 1.637 GB, free: 15.34 MB / 1.057 GB Notification: Performance of pre-optimization done (n=157): time 3.657e-06/1.936, allocations: 3.938 kB / 1.637 GB, free: 15.34 MB / 1.057 GB Notification: Performance of matching and sorting (n=160): time 0.009431/1.946, allocations: 4.757 MB / 1.642 GB, free: 10.53 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/1.946, allocations: 68.72 kB / 1.642 GB, free: 10.45 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/1.948, allocations: 1.244 MB / 1.643 GB, free: 9.168 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/1.948, allocations: 25.7 kB / 1.643 GB, free: 9.137 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.95, allocations: 2.106 MB / 1.645 GB, free: 7.004 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006222/1.95, allocations: 0.539 MB / 1.645 GB, free: 6.457 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/1.95, allocations: 0 / 1.645 GB, free: 6.457 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002129/1.951, allocations: 386.1 kB / 1.646 GB, free: 6.074 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/1.952, allocations: 0.953 MB / 1.647 GB, free: 5.117 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/1.954, allocations: 1.663 MB / 1.648 GB, free: 3.121 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/1.956, allocations: 1.24 MB / 1.65 GB, free: 1.879 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.956, allocations: 4 kB / 1.65 GB, free: 1.875 MB / 1.057 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.006475/1.962, allocations: 3.496 MB / 1.653 GB, free: 14.33 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.897e-05/1.963, allocations: 20.03 kB / 1.653 GB, free: 14.31 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.101e-05/1.963, allocations: 20 kB / 1.653 GB, free: 14.29 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/1.965, allocations: 0.8804 MB / 1.654 GB, free: 13.38 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/1.966, allocations: 415.2 kB / 1.654 GB, free: 12.97 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/1.987, allocations: 20.19 MB / 1.674 GB, free: 7.391 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/1.99, allocations: 79.84 kB / 1.674 GB, free: 7.312 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003293/1.99, allocations: 92 kB / 1.674 GB, free: 7.223 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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%) 6,(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.0005768/1.991, allocations: 181 kB / 1.674 GB, free: 7.039 MB / 1.089 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005954/1.997, allocations: 2.913 MB / 1.677 GB, free: 4.078 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005942/1.997, allocations: 233.3 kB / 1.677 GB, free: 3.848 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005548/2.003, allocations: 3.049 MB / 1.68 GB, free: 0.7461 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/2.003, allocations: 16 kB / 1.68 GB, free: 0.7305 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-05/2.003, allocations: 12 kB / 1.68 GB, free: 0.7188 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.879e-05/2.003, allocations: 7.969 kB / 1.68 GB, free: 0.7109 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/2.02, allocations: 6.578 MB / 1.687 GB, free: 9.988 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/2.02, allocations: 4 kB / 1.687 GB, free: 9.984 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/2.021, allocations: 228.1 kB / 1.687 GB, free: 9.762 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002548/2.024, allocations: 0.8453 MB / 1.688 GB, free: 8.879 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/2.024, allocations: 7.984 kB / 1.688 GB, free: 8.871 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02141/2.045, allocations: 20.16 MB / 1.708 GB, free: 3.332 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/2.045, allocations: 4.188 kB / 1.708 GB, free: 3.328 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00602/2.051, allocations: 3.509 MB / 1.711 GB, free: 15.55 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/2.053, allocations: 0.5061 MB / 1.711 GB, free: 15.02 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002914/2.053, allocations: 4 kB / 1.711 GB, free: 15.02 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/2.054, allocations: 67.84 kB / 1.712 GB, free: 14.95 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004559/2.054, allocations: 137.1 kB / 1.712 GB, free: 14.82 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001137/2.055, allocations: 51.95 kB / 1.712 GB, free: 14.77 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001661/2.056, allocations: 0.9061 MB / 1.713 GB, free: 13.84 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.2e-07/2.056, allocations: 0 / 1.713 GB, free: 13.84 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.003689/2.06, allocations: 0.8476 MB / 1.713 GB, free: 13 MB / 1.135 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 (109): * Single equations (assignments): 97 * 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%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006494/2.066, allocations: 5.224 MB / 1.719 GB, free: 7.586 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.006742/2.073, allocations: 4.084 MB / 1.723 GB, free: 3.383 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/2.073, allocations: 3.906 kB / 1.723 GB, free: 3.379 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.004358/2.078, allocations: 2.815 MB / 1.725 GB, free: 460 kB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00366/2.081, allocations: 0.6485 MB / 1.726 GB, free: 15.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/2.097, allocations: 7.049 MB / 1.733 GB, free: 8.641 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003937/2.101, allocations: 3.286 MB / 1.736 GB, free: 5.316 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00217/2.103, allocations: 0.4962 MB / 1.736 GB, free: 4.816 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00219/2.106, allocations: 1.659 MB / 1.738 GB, free: 3.156 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/2.106, allocations: 0 / 1.738 GB, free: 3.156 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8929/2.999, allocations: 63.14 MB / 1.8 GB, free: 301.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/2.999, allocations: 165.5 kB / 1.8 GB, free: 301.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.758/6.757, allocations: 1.688 kB / 1.8 GB, free: 301.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat does not exist to compare? outputFormat=mat