Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",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.46/2.46, 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.001061/0.001061, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.564/1.564, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 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.0009293/0.0009292, allocations: 87.72 kB / 0.9219 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.972e-05/1.975e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3011, allocations: 142.4 MB / 1.206 GB, free: 43.83 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.346, allocations: 164.6 MB / 1.367 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.346, allocations: 92.61 kB / 1.367 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06762/1.414, allocations: 32.14 MB / 1.398 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.804e-06/1.414, allocations: 0 / 1.398 GB, free: 23.74 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.892e-05/1.414, allocations: 19.09 kB / 1.398 GB, free: 23.74 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.001081/1.415, allocations: 0.768 MB / 1.399 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.415, allocations: 11.22 kB / 1.399 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.416, allocations: 210.4 kB / 1.399 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006182/1.417, allocations: 493.9 kB / 1.4 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/1.417, allocations: 15.53 kB / 1.4 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.075e-05/1.417, allocations: 27.06 kB / 1.4 GB, free: 22.69 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005678/1.418, allocations: 414.5 kB / 1.4 GB, free: 22.66 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008395/1.419, allocations: 0.8525 MB / 1.401 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/1.419, allocations: 7.781 kB / 1.401 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.531e-05/1.419, allocations: 3.844 kB / 1.401 GB, free: 22.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.386e-05/1.419, allocations: 54.17 kB / 1.401 GB, free: 22.03 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003711/1.422, allocations: 5.542 MB / 1.406 GB, free: 17.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004842/1.423, allocations: 439.7 kB / 1.407 GB, free: 16.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/1.423, allocations: 213.6 kB / 1.407 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/1.423, allocations: 12.31 kB / 1.407 GB, free: 16.95 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/1.423, allocations: 30.56 kB / 1.407 GB, free: 16.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 2.575e-06/1.423, allocations: 3.938 kB / 1.407 GB, free: 16.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001282/1.424, allocations: 0.8021 MB / 1.408 GB, free: 16.59 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/1.425, allocations: 59.2 kB / 1.408 GB, free: 16.53 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/1.425, allocations: 352.2 kB / 1.408 GB, free: 16.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/1.425, allocations: 37.36 kB / 1.408 GB, free: 16.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/1.425, allocations: 345.8 kB / 1.409 GB, free: 16.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.822e-05/1.425, allocations: 115.8 kB / 1.409 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.77e-05/1.425, allocations: 0 / 1.409 GB, free: 16.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001592/1.425, allocations: 357.2 kB / 1.409 GB, free: 15.69 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/1.426, allocations: 177.4 kB / 1.409 GB, free: 15.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002937/1.426, allocations: 390.5 kB / 1.41 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/1.426, allocations: 234.7 kB / 1.41 GB, free: 15.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.426, allocations: 3.984 kB / 1.41 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008621/1.427, allocations: 0.6933 MB / 1.411 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/1.427, allocations: 7.844 kB / 1.411 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.427, allocations: 7.719 kB / 1.411 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/1.427, allocations: 147.1 kB / 1.411 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003966/1.428, allocations: 114.8 kB / 1.411 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002678/1.431, allocations: 3.864 MB / 1.415 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/1.431, allocations: 31.47 kB / 1.415 GB, free: 11.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.268e-05/1.431, allocations: 23.81 kB / 1.415 GB, free: 11.08 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.0001336/1.431, allocations: 124.4 kB / 1.415 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007147/1.432, allocations: 0.5267 MB / 1.415 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/1.432, allocations: 58.78 kB / 1.415 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/1.433, allocations: 0.5584 MB / 1.416 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.433, allocations: 4 kB / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.433, allocations: 4 kB / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.433, allocations: 0 / 1.416 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.434, allocations: 1.148 MB / 1.417 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.434, allocations: 7.938 kB / 1.417 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002541/1.435, allocations: 59.67 kB / 1.417 GB, free: 8.969 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003724/1.435, allocations: 133.9 kB / 1.417 GB, free: 8.844 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/1.435, allocations: 4 kB / 1.417 GB, free: 8.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/1.438, allocations: 3.869 MB / 1.421 GB, free: 4.785 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.438, allocations: 3.938 kB / 1.421 GB, free: 4.781 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/1.439, allocations: 0.7477 MB / 1.422 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/1.439, allocations: 163 kB / 1.422 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.439e-05/1.439, allocations: 4 kB / 1.422 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/1.439, allocations: 15.97 kB / 1.422 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/1.439, allocations: 42.86 kB / 1.422 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/1.44, allocations: 8 kB / 1.422 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002553/1.44, allocations: 259.1 kB / 1.422 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.44, allocations: 3.938 kB / 1.422 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006833/1.44, allocations: 132 kB / 1.422 GB, free: 3.504 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.001366/1.442, allocations: 1.785 MB / 1.424 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001249/1.443, allocations: 0.9487 MB / 1.425 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.443, allocations: 0 / 1.425 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0007218/1.444, allocations: 0.6998 MB / 1.426 GB, free: 168 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008357/1.445, allocations: 175.3 kB / 1.426 GB, free: 20 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/1.446, allocations: 0.8399 MB / 1.427 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/1.447, allocations: 0.9253 MB / 1.428 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003282/1.447, allocations: 104.9 kB / 1.428 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/1.447, allocations: 191.9 kB / 1.428 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/1.447, allocations: 0 / 1.428 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/1.48, allocations: 10.62 MB / 1.438 GB, free: 3.59 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/1.481, allocations: 153.3 kB / 1.438 GB, free: 3.398 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.894, allocations: 0 / 1.438 GB, free: 3.398 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat does not exist to compare? outputFormat=mat