Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.492/2.492, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001634/0.001634, allocations: 168.9 kB / 487.4 MB, free: 5.059 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009632/0.0009632, allocations: 99.84 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.467e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9418/1.202, allocations: 165.1 MB / 1.367 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/1.203, allocations: 98.66 kB / 1.367 GB, free: 18.32 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07209/1.275, allocations: 32.41 MB / 1.399 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.963e-06/1.275, allocations: 4 kB / 1.399 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.495e-05/1.275, allocations: 23.16 kB / 1.399 GB, free: 23.73 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001534/1.276, allocations: 0.7815 MB / 1.4 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.276, allocations: 15.53 kB / 1.4 GB, free: 23.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/1.278, allocations: 209.2 kB / 1.4 GB, free: 23.03 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007866/1.279, allocations: 0.4897 MB / 1.401 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/1.279, allocations: 10.97 kB / 1.401 GB, free: 22.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/1.279, allocations: 29.98 kB / 1.401 GB, free: 22.67 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007178/1.28, allocations: 417.3 kB / 1.401 GB, free: 22.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008935/1.281, allocations: 0.851 MB / 1.402 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.196e-05/1.281, allocations: 7.781 kB / 1.402 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.009e-05/1.281, allocations: 3.844 kB / 1.402 GB, free: 22.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.364e-05/1.281, allocations: 54.38 kB / 1.402 GB, free: 22.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003971/1.285, allocations: 5.545 MB / 1.407 GB, free: 17.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005193/1.285, allocations: 438.4 kB / 1.408 GB, free: 16.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/1.285, allocations: 213.5 kB / 1.408 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/1.285, allocations: 4.375 kB / 1.408 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/1.286, allocations: 38.53 kB / 1.408 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 1.883e-06/1.286, allocations: 0 / 1.408 GB, free: 16.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.00135/1.287, allocations: 0.8093 MB / 1.409 GB, free: 16.57 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/1.287, allocations: 62.77 kB / 1.409 GB, free: 16.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/1.287, allocations: 360.5 kB / 1.409 GB, free: 16.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/1.287, allocations: 29.7 kB / 1.409 GB, free: 16.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/1.288, allocations: 350.5 kB / 1.41 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.076e-05/1.288, allocations: 107.2 kB / 1.41 GB, free: 16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/1.288, allocations: 0 / 1.41 GB, free: 16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.288, allocations: 359.7 kB / 1.41 GB, free: 15.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/1.288, allocations: 180.6 kB / 1.41 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/1.288, allocations: 387.1 kB / 1.411 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/1.289, allocations: 244.6 kB / 1.411 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/1.289, allocations: 3.812 kB / 1.411 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009242/1.289, allocations: 0.6905 MB / 1.411 GB, free: 15.06 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/1.289, allocations: 8 kB / 1.411 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.289, allocations: 8 kB / 1.411 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004256/1.29, allocations: 153.2 kB / 1.412 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004124/1.29, allocations: 115.2 kB / 1.412 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002737/1.293, allocations: 3.866 MB / 1.415 GB, free: 10.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003845/1.293, allocations: 24.22 kB / 1.415 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/1.294, allocations: 23.88 kB / 1.416 GB, free: 10.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001363/1.294, allocations: 136.7 kB / 1.416 GB, free: 10.56 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000736/1.294, allocations: 0.5204 MB / 1.416 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.986e-05/1.295, allocations: 59.34 kB / 1.416 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/1.295, allocations: 0.5563 MB / 1.417 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/1.295, allocations: 4 kB / 1.417 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.296, allocations: 0 / 1.417 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.296, allocations: 0 / 1.417 GB, free: 9.637 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/1.297, allocations: 1.158 MB / 1.418 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/1.297, allocations: 0 / 1.418 GB, free: 8.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000278/1.298, allocations: 56.11 kB / 1.418 GB, free: 8.586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004513/1.298, allocations: 140.1 kB / 1.418 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.866e-05/1.298, allocations: 0 / 1.418 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003269/1.301, allocations: 3.874 MB / 1.422 GB, free: 4.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/1.301, allocations: 7.938 kB / 1.422 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/1.303, allocations: 0.7507 MB / 1.423 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/1.303, allocations: 158.3 kB / 1.423 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.416e-05/1.303, allocations: 4 kB / 1.423 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/1.303, allocations: 19.97 kB / 1.423 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.547e-05/1.303, allocations: 38.78 kB / 1.423 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/1.303, allocations: 8 kB / 1.423 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000334/1.304, allocations: 268.5 kB / 1.423 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.81e-07/1.304, allocations: 0 / 1.423 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007364/1.304, allocations: 124 kB / 1.423 GB, free: 3.121 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001518/1.306, allocations: 1.793 MB / 1.425 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001362/1.307, allocations: 0.9492 MB / 1.426 GB, free: 492 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.307, allocations: 4.125 kB / 1.426 GB, free: 488 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000838/1.308, allocations: 0.6975 MB / 1.427 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/1.309, allocations: 173.8 kB / 1.427 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/1.311, allocations: 0.8479 MB / 1.428 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/1.311, allocations: 0.932 MB / 1.428 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003723/1.312, allocations: 104.9 kB / 1.429 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/1.312, allocations: 190.5 kB / 1.429 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of SimCode: time 3.51e-07/1.312, allocations: 0 / 1.429 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03577/1.348, allocations: 10.76 MB / 1.439 GB, free: 3.055 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/1.348, allocations: 162.2 kB / 1.439 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.796, allocations: 0 / 1.439 GB, free: 2.863 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat does not exist to compare? outputFormat=mat