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.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001131/0.001131, allocations: 172.9 kB / 492.3 MB, free: 0.6211 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.559/1.559, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008373/0.0008372, allocations: 95.88 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.095e-05/4.116e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.2986, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.462, allocations: 165.8 MB / 1.374 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.462, allocations: 91.77 kB / 1.375 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0757/1.538, allocations: 32.54 MB / 1.406 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.056e-06/1.538, allocations: 3.984 kB / 1.406 GB, free: 19.88 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.006e-05/1.538, allocations: 19.28 kB / 1.406 GB, free: 19.87 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.001766/1.54, allocations: 0.7786 MB / 1.407 GB, free: 19.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/1.54, allocations: 15.97 kB / 1.407 GB, free: 19.07 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/1.54, allocations: 92.78 kB / 1.407 GB, free: 19 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/1.542, allocations: 206.8 kB / 1.407 GB, free: 18.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/1.543, allocations: 499.8 kB / 1.408 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.543, allocations: 34.41 kB / 1.408 GB, free: 18.31 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.543, allocations: 47.09 kB / 1.408 GB, free: 18.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/1.544, allocations: 0.914 MB / 1.409 GB, free: 17.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.316e-05/1.544, allocations: 7.938 kB / 1.409 GB, free: 17.37 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/1.544, allocations: 29.7 kB / 1.409 GB, free: 17.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.421e-05/1.544, allocations: 52.12 kB / 1.409 GB, free: 17.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/1.545, allocations: 0.5485 MB / 1.409 GB, free: 16.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005188/1.55, allocations: 5.658 MB / 1.415 GB, free: 11.31 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/1.551, allocations: 451.2 kB / 1.415 GB, free: 10.99 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/1.552, allocations: 224 kB / 1.416 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/1.552, allocations: 4 kB / 1.416 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.592e-05/1.552, allocations: 42.5 kB / 1.416 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=32): time 5.11e-06/1.552, allocations: 0 / 1.416 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33): time 0.001958/1.554, allocations: 0.8611 MB / 1.416 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/1.554, allocations: 55.41 kB / 1.417 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000583/1.554, allocations: 432.6 kB / 1.417 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.378e-05/1.554, allocations: 29.2 kB / 1.417 GB, free: 9.648 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002508/1.555, allocations: 355 kB / 1.417 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/1.555, allocations: 112.1 kB / 1.417 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.555, allocations: 9.812 kB / 1.417 GB, free: 9.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.555, allocations: 373 kB / 1.418 GB, free: 8.949 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002876/1.555, allocations: 184.1 kB / 1.418 GB, free: 8.832 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000423/1.556, allocations: 401.8 kB / 1.418 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/1.556, allocations: 251.7 kB / 1.419 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/1.556, allocations: 4 kB / 1.419 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001368/1.558, allocations: 0.7666 MB / 1.419 GB, free: 7.609 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.687e-05/1.558, allocations: 11.98 kB / 1.419 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/1.558, allocations: 8 kB / 1.419 GB, free: 7.59 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000543/1.558, allocations: 148.7 kB / 1.42 GB, free: 7.453 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/1.559, allocations: 115.2 kB / 1.42 GB, free: 7.344 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00354/1.562, allocations: 4.04 MB / 1.424 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/1.563, allocations: 30.72 kB / 1.424 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/1.563, allocations: 26.94 kB / 1.424 GB, free: 3.035 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.0001812/1.563, allocations: 141 kB / 1.424 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.563, allocations: 55.34 kB / 1.424 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001137/1.564, allocations: 0.593 MB / 1.424 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/1.564, allocations: 4 kB / 1.424 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/1.564, allocations: 3.953 kB / 1.424 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/1.564, allocations: 3.984 kB / 1.424 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/1.566, allocations: 1.253 MB / 1.426 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.566, allocations: 4 kB / 1.426 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002771/1.567, allocations: 47.95 kB / 1.426 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004372/1.567, allocations: 157.2 kB / 1.426 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.75e-05/1.567, allocations: 7.375 kB / 1.426 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003355/1.571, allocations: 4.025 MB / 1.43 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.571, allocations: 11.88 kB / 1.43 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.572, allocations: 0.7799 MB / 1.431 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/1.572, allocations: 167.9 kB / 1.431 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/1.572, allocations: 10.86 kB / 1.431 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002984/1.573, allocations: 19.91 kB / 1.431 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/1.573, allocations: 35.47 kB / 1.431 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/1.573, allocations: 12 kB / 1.431 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004435/1.573, allocations: 334.3 kB / 1.431 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.71e-07/1.573, allocations: 0 / 1.431 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007442/1.574, allocations: 143.1 kB / 1.431 GB, free: 11.5 MB / 0.8542 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.001713/1.576, allocations: 1.83 MB / 1.433 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001514/1.577, allocations: 1.009 MB / 1.434 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.577, allocations: 0 / 1.434 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008451/1.578, allocations: 0.7238 MB / 1.435 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009993/1.579, allocations: 178.2 kB / 1.435 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.581, allocations: 0.8925 MB / 1.436 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/1.582, allocations: 0.9256 MB / 1.437 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004134/1.582, allocations: 113.2 kB / 1.437 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002395/1.582, allocations: 200.7 kB / 1.437 GB, free: 5.934 MB / 0.8542 GB Notification: Performance of SimCode: time 8.31e-07/1.582, allocations: 3.938 kB / 1.437 GB, free: 5.93 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/1.617, allocations: 12.09 MB / 1.449 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002826/1.617, allocations: 199.3 kB / 1.449 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/4.187, allocations: 0 / 1.449 GB, free: 9.902 MB / 0.8698 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