Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.414/2.414, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001316/0.001316, allocations: 173 kB / 492.3 MB, free: 0.6328 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.527/1.527, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008694/0.0008693, allocations: 99.25 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.77e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3241/0.3242, allocations: 142.4 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.208/1.533, allocations: 221.1 MB / 1.428 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/1.533, allocations: 101.3 kB / 1.429 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.3069/1.84, allocations: 124.6 MB / 1.55 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.004e-06/1.84, allocations: 0 / 1.55 GB, free: 12.55 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002116/1.84, allocations: 40 kB / 1.55 GB, free: 12.51 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005122/1.845, allocations: 1.657 MB / 1.552 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.845, allocations: 8.031 kB / 1.552 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007272/1.846, allocations: 190.2 kB / 1.552 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01232/1.859, allocations: 1.96 MB / 1.554 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006128/1.865, allocations: 2.083 MB / 1.556 GB, free: 6.492 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001155/1.865, allocations: 86.31 kB / 1.556 GB, free: 6.406 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006516/1.866, allocations: 116 kB / 1.556 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004904/1.87, allocations: 2.221 MB / 1.558 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.091e-05/1.87, allocations: 7.938 kB / 1.558 GB, free: 3.879 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002971/1.871, allocations: 63.92 kB / 1.558 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/1.871, allocations: 86.28 kB / 1.559 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/1.874, allocations: 1.863 MB / 1.56 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01543/1.89, allocations: 10.73 MB / 1.571 GB, free: 6.555 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002329/1.892, allocations: 1.503 MB / 1.572 GB, free: 5.02 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/1.893, allocations: 0.8979 MB / 1.573 GB, free: 4.117 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.302e-05/1.893, allocations: 8.781 kB / 1.573 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/1.893, allocations: 51.34 kB / 1.573 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=89): time 2.084e-06/1.893, allocations: 0 / 1.573 GB, free: 4.051 MB / 0.9792 GB Notification: Performance of matching and sorting (n=153): time 0.04795/1.941, allocations: 13.67 MB / 1.587 GB, free: 6.32 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.941, allocations: 222.9 kB / 1.587 GB, free: 6.055 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/1.943, allocations: 0.9994 MB / 1.588 GB, free: 5.047 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/1.943, allocations: 57.69 kB / 1.588 GB, free: 4.984 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/1.944, allocations: 0.7399 MB / 1.589 GB, free: 4.238 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006385/1.945, allocations: 0.5159 MB / 1.589 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/1.945, allocations: 28 kB / 1.589 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002737/1.945, allocations: 361.9 kB / 1.589 GB, free: 3.328 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/1.947, allocations: 1.129 MB / 1.591 GB, free: 2.199 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/1.949, allocations: 1.409 MB / 1.592 GB, free: 0.6914 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001947/1.951, allocations: 1.25 MB / 1.593 GB, free: 15.44 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.786e-06/1.951, allocations: 4 kB / 1.593 GB, free: 15.43 MB / 1.01 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01136/1.962, allocations: 4.575 MB / 1.598 GB, free: 10.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.152e-05/1.962, allocations: 8 kB / 1.598 GB, free: 10.82 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/1.962, allocations: 8 kB / 1.598 GB, free: 10.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008652/1.971, allocations: 2.135 MB / 1.6 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/1.973, allocations: 415.3 kB / 1.6 GB, free: 8.246 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03037/2.004, allocations: 22.48 MB / 1.622 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003253/2.007, allocations: 331.5 kB / 1.622 GB, free: 384 kB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004362/2.007, allocations: 63.97 kB / 1.622 GB, free: 320 kB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006799/2.008, allocations: 184.7 kB / 1.623 GB, free: 128 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008124/2.009, allocations: 178 kB / 1.623 GB, free: 15.95 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/2.02, allocations: 4.646 MB / 1.627 GB, free: 11.26 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/2.021, allocations: 15.94 kB / 1.627 GB, free: 11.24 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.148e-05/2.021, allocations: 23.95 kB / 1.627 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/2.021, allocations: 7.969 kB / 1.627 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/2.036, allocations: 6.883 MB / 1.634 GB, free: 4.203 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/2.036, allocations: 0 / 1.634 GB, free: 4.203 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/2.038, allocations: 367.9 kB / 1.634 GB, free: 3.844 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008082/2.046, allocations: 1.986 MB / 1.636 GB, free: 1.836 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002718/2.047, allocations: 39.97 kB / 1.636 GB, free: 1.797 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/2.074, allocations: 21.68 MB / 1.658 GB, free: 11.06 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.074, allocations: 4 kB / 1.658 GB, free: 11.06 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/2.085, allocations: 4.423 MB / 1.662 GB, free: 6.469 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001649/2.086, allocations: 0.5066 MB / 1.662 GB, free: 5.941 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006212/2.087, allocations: 27.98 kB / 1.662 GB, free: 5.914 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002732/2.09, allocations: 331.5 kB / 1.663 GB, free: 5.59 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/2.09, allocations: 157 kB / 1.663 GB, free: 5.438 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001914/2.091, allocations: 51.97 kB / 1.663 GB, free: 5.387 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001686/2.092, allocations: 0.7729 MB / 1.664 GB, free: 4.613 MB / 1.073 GB Notification: Performance of sort global known variables: time 2e-07/2.092, allocations: 0 / 1.664 GB, free: 4.613 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.003192/2.095, allocations: 0.7226 MB / 1.664 GB, free: 3.891 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0109/2.106, allocations: 5.807 MB / 1.67 GB, free: 13.95 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.007886/2.114, allocations: 4.343 MB / 1.674 GB, free: 9.504 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.114, allocations: 4 kB / 1.674 GB, free: 9.5 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005647/2.12, allocations: 2.963 MB / 1.677 GB, free: 6.434 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/2.123, allocations: 498.7 kB / 1.678 GB, free: 5.953 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009261/2.133, allocations: 3.57 MB / 1.681 GB, free: 2.301 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/2.134, allocations: 1.611 MB / 1.683 GB, free: 0.6445 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.001996/2.136, allocations: 402.7 kB / 1.683 GB, free: 252 kB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001106/2.138, allocations: 0.6711 MB / 1.684 GB, free: 15.57 MB / 1.104 GB Notification: Performance of SimCode: time 1.132e-06/2.138, allocations: 0 / 1.684 GB, free: 15.57 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/2.251, allocations: 59 MB / 1.741 GB, free: 5.191 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/2.251, allocations: 191.7 kB / 1.742 GB, free: 4.969 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/6.006, allocations: 0 / 1.742 GB, free: 4.969 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat does not exist to compare? outputFormat=mat