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.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001162/0.001162, allocations: 189 kB / 498.1 MB, free: 5.68 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.573/1.573, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0009392/0.0009391, allocations: 94.52 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 6.875 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.199/0.5016, allocations: 165.9 MB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003322/0.502, allocations: 99.92 kB / 1.385 GB, free: 11.97 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.07821/0.5802, allocations: 32.71 MB / 1.417 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.596e-06/0.5803, allocations: 3.984 kB / 1.417 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.005e-05/0.5804, allocations: 19.98 kB / 1.417 GB, free: 10.89 MB / 0.9167 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.001544/0.5819, allocations: 0.8612 MB / 1.418 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.582, allocations: 8.031 kB / 1.418 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001341/0.5821, allocations: 98.5 kB / 1.418 GB, free: 9.867 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001281/0.5834, allocations: 206.8 kB / 1.418 GB, free: 9.664 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008168/0.5842, allocations: 496.2 kB / 1.419 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.5843, allocations: 33 kB / 1.419 GB, free: 9.105 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.5844, allocations: 51.98 kB / 1.419 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5856, allocations: 0.93 MB / 1.42 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/0.5856, allocations: 7.938 kB / 1.42 GB, free: 7.941 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-05/0.5857, allocations: 31.98 kB / 1.42 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.78e-05/0.5858, allocations: 48.97 kB / 1.42 GB, free: 7.859 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.5866, allocations: 0.5616 MB / 1.42 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00609/0.5927, allocations: 5.67 MB / 1.426 GB, free: 1.234 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.5936, allocations: 453.5 kB / 1.426 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.5936, allocations: 0 / 1.426 GB, free: 0.7852 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.5937, allocations: 46.5 kB / 1.426 GB, free: 0.7305 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=32): time 2.205e-06/0.5937, allocations: 4 kB / 1.426 GB, free: 0.7266 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.636/1.23, allocations: 1.487 MB / 1.428 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/1.23, allocations: 58.84 kB / 1.428 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005282/1.23, allocations: 444.8 kB / 1.428 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/1.23, allocations: 29.14 kB / 1.428 GB, free: 183.3 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/1.231, allocations: 349.1 kB / 1.429 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 9.995e-05/1.231, allocations: 117.7 kB / 1.429 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/1.231, allocations: 12.59 kB / 1.429 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.231, allocations: 365.3 kB / 1.429 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/1.231, allocations: 188.2 kB / 1.429 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/1.232, allocations: 408.9 kB / 1.43 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/1.232, allocations: 257.5 kB / 1.43 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.232, allocations: 2.156 kB / 1.43 GB, free: 182.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001439/1.233, allocations: 0.7708 MB / 1.431 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/1.233, allocations: 9.031 kB / 1.431 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.233, allocations: 8.094 kB / 1.431 GB, free: 182.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/1.234, allocations: 149.6 kB / 1.431 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/1.234, allocations: 113.5 kB / 1.431 GB, free: 182.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/1.237, allocations: 4.065 MB / 1.435 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.238, allocations: 36.47 kB / 1.435 GB, free: 178.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/1.238, allocations: 25.77 kB / 1.435 GB, free: 178.6 MB / 0.9167 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 () * Number of clocked 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.000351/1.238, allocations: 209.8 kB / 1.435 GB, free: 178.5 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/1.238, allocations: 61.83 kB / 1.435 GB, free: 178.4 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/1.239, allocations: 0.6015 MB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/1.239, allocations: 4.625 kB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.239, allocations: 7.469 kB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.239, allocations: 1.781 kB / 1.436 GB, free: 178.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/1.241, allocations: 1.258 MB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.242, allocations: 2.453 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/1.242, allocations: 55.27 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000472/1.242, allocations: 147.8 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/1.242, allocations: 12.02 kB / 1.437 GB, free: 177.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002676/1.245, allocations: 4.051 MB / 1.441 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.245, allocations: 4.219 kB / 1.441 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/1.246, allocations: 0.7864 MB / 1.442 GB, free: 173.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002831/1.246, allocations: 171.2 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.924e-05/1.247, allocations: 7.719 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/1.247, allocations: 22.3 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/1.247, allocations: 33.73 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/1.247, allocations: 15.34 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0004758/1.247, allocations: 335 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.21e-07/1.247, allocations: 1 kB / 1.442 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001018/1.248, allocations: 147.2 kB / 1.443 GB, free: 173.6 MB / 0.9167 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 () * Number of clocked 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.001473/1.25, allocations: 1.837 MB / 1.444 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00146/1.251, allocations: 1.014 MB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.251, allocations: 0.9688 kB / 1.445 GB, free: 171.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000809/1.252, allocations: 0.7323 MB / 1.446 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008754/1.253, allocations: 184.6 kB / 1.446 GB, free: 171.1 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/1.26, allocations: 8.266 MB / 1.454 GB, free: 164.9 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/1.261, allocations: 0.9243 MB / 1.455 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005866/1.261, allocations: 114.8 kB / 1.455 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/1.261, allocations: 197.1 kB / 1.456 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.573e-06/1.261, allocations: 0 / 1.456 GB, free: 164.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03422/1.296, allocations: 12.21 MB / 1.467 GB, free: 163.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.296, allocations: 228.8 kB / 1.468 GB, free: 163.3 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/3.567, allocations: 0 / 1.468 GB, free: 163.3 MB / 0.9167 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