Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.747/1.747, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 185 kB / 377.1 MB, free: 1.512 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.4 MB / 0.6366 GB, free: 9.539 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000984/0.000984, allocations: 90.33 kB / 0.7509 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003878, allocations: 8 kB / 0.8749 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 116.3 MB / 0.9884 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8235/1.111, allocations: 155.3 MB / 1.14 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/1.112, allocations: 102.5 kB / 1.14 GB, free: 22.6 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.06861/1.18, allocations: 29.93 MB / 1.169 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.072e-06/1.18, allocations: 4 kB / 1.169 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.449e-05/1.18, allocations: 19.98 kB / 1.169 GB, free: 13.07 MB / 0.7448 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.002426/1.183, allocations: 0.8659 MB / 1.17 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.944e-05/1.183, allocations: 12.02 kB / 1.17 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003059/1.183, allocations: 98.5 kB / 1.17 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/1.185, allocations: 204.9 kB / 1.171 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/1.186, allocations: 492.4 kB / 1.171 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.041e-05/1.186, allocations: 31.14 kB / 1.171 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/1.186, allocations: 43.98 kB / 1.171 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/1.188, allocations: 0.93 MB / 1.172 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.275e-05/1.188, allocations: 13.56 kB / 1.172 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/1.188, allocations: 23.98 kB / 1.172 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.891e-05/1.188, allocations: 60.95 kB / 1.172 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.189, allocations: 0.5539 MB / 1.173 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/1.195, allocations: 5.678 MB / 1.178 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006987/1.196, allocations: 442.3 kB / 1.179 GB, free: 2.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/1.196, allocations: 6.922 kB / 1.179 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/1.196, allocations: 47.56 kB / 1.179 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=32): time 2.855e-06/1.196, allocations: 0 / 1.179 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33): time 0.002892/1.199, allocations: 1.493 MB / 1.18 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/1.199, allocations: 67.3 kB / 1.18 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/1.199, allocations: 438.2 kB / 1.181 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/1.199, allocations: 29.7 kB / 1.181 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/1.2, allocations: 351 kB / 1.181 GB, free: 424 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/1.2, allocations: 118.4 kB / 1.181 GB, free: 304 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/1.2, allocations: 12 kB / 1.181 GB, free: 292 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.2, allocations: 366.8 kB / 1.182 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/1.2, allocations: 189 kB / 1.182 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005397/1.201, allocations: 405.8 kB / 1.182 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/1.201, allocations: 251.8 kB / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.201, allocations: 4 kB / 1.182 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001369/1.203, allocations: 0.7667 MB / 1.183 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.203, allocations: 8 kB / 1.183 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/1.203, allocations: 8 kB / 1.183 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005234/1.203, allocations: 160.5 kB / 1.183 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/1.204, allocations: 111.8 kB / 1.183 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00362/1.207, allocations: 4.06 MB / 1.187 GB, free: 9.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00045/1.208, allocations: 36.06 kB / 1.187 GB, free: 9.414 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/1.208, allocations: 31.94 kB / 1.187 GB, free: 9.383 MB / 0.7605 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.0003501/1.208, allocations: 215.3 kB / 1.188 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/1.208, allocations: 63.19 kB / 1.188 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.21, allocations: 0.5972 MB / 1.188 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/1.21, allocations: 7.984 kB / 1.188 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.21, allocations: 0 / 1.188 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.21, allocations: 4 kB / 1.188 GB, free: 8.469 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/1.212, allocations: 1.259 MB / 1.189 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/1.212, allocations: 4 kB / 1.189 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/1.212, allocations: 55.89 kB / 1.19 GB, free: 7.059 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/1.212, allocations: 144.3 kB / 1.19 GB, free: 6.902 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/1.212, allocations: 11.95 kB / 1.19 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003328/1.216, allocations: 4.054 MB / 1.194 GB, free: 2.445 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.216, allocations: 3.938 kB / 1.194 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.217, allocations: 0.7976 MB / 1.194 GB, free: 1.551 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000306/1.217, allocations: 168.3 kB / 1.195 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.47e-05/1.217, allocations: 9.688 kB / 1.195 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/1.218, allocations: 23.97 kB / 1.195 GB, free: 1.336 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.402e-05/1.218, allocations: 27.95 kB / 1.195 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/1.218, allocations: 12 kB / 1.195 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004047/1.218, allocations: 338.8 kB / 1.195 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/1.218, allocations: 0 / 1.195 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007463/1.219, allocations: 143.9 kB / 1.195 GB, free: 0.8281 MB / 0.7605 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.001747/1.221, allocations: 1.824 MB / 1.197 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001583/1.222, allocations: 1.021 MB / 1.198 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.222, allocations: 4 kB / 1.198 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008723/1.223, allocations: 0.7306 MB / 1.199 GB, free: 13 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009797/1.224, allocations: 185.2 kB / 1.199 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007854/1.232, allocations: 8.266 MB / 1.207 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/1.233, allocations: 0.9219 MB / 1.208 GB, free: 3.367 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0004637/1.233, allocations: 121.9 kB / 1.208 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/1.233, allocations: 199.3 kB / 1.208 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/1.233, allocations: 0 / 1.208 GB, free: 3.055 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03233/1.266, allocations: 12.2 MB / 1.22 GB, free: 7.117 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.266, allocations: 226.2 kB / 1.22 GB, free: 6.871 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.56/3.826, allocations: 0 / 1.22 GB, free: 6.871 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)