Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 114.4 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001635, allocations: 192.6 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00209/0.002091, allocations: 299.1 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9063/0.9063, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 97.92 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1451, allocations: 86.97 MB / 0.6816 GB, free: 7.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.2502/0.3953, allocations: 11.08 MB / 0.6924 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.4027, allocations: 5.796 MB / 0.6981 GB, free: 10.53 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.4033, allocations: 50.19 kB / 0.6981 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.4069, allocations: 1.72 MB / 0.6998 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.4093, allocations: 1.152 MB / 0.7009 GB, free: 8.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.4111, allocations: 0.8112 MB / 0.7017 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002036/0.4132, allocations: 2.125 MB / 0.7038 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.4146, allocations: 1.305 MB / 0.7051 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009721/0.4156, allocations: 0.8479 MB / 0.7059 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.4166, allocations: 0.9131 MB / 0.7068 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.4168, allocations: 114.4 kB / 0.7069 GB, free: 6.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.4189, allocations: 1.183 MB / 0.7081 GB, free: 5.707 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.4193, allocations: 0.5142 MB / 0.7086 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007215/0.4201, allocations: 0.7867 MB / 0.7093 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.4228, allocations: 2.421 MB / 0.7117 GB, free: 4.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4228, allocations: 0 / 0.7117 GB, free: 4.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4228, allocations: 0 / 0.7117 GB, free: 4.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.4229, allocations: 0 / 0.7117 GB, free: 4.184 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002889/0.4258, allocations: 1.872 MB / 0.7135 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.4258, allocations: 9.625 kB / 0.7135 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004444/0.4303, allocations: 0.6752 MB / 0.7142 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.4321, allocations: 1.004 MB / 0.7152 GB, free: 2.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.4322, allocations: 94.2 kB / 0.7153 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.4324, allocations: 126.4 kB / 0.7154 GB, free: 2.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.4352, allocations: 2.22 MB / 0.7176 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.4352, allocations: 12.66 kB / 0.7176 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.4354, allocations: 57.12 kB / 0.7176 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001791/0.4355, allocations: 170.7 kB / 0.7178 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.4381, allocations: 1.865 MB / 0.7196 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01116/0.4493, allocations: 12.43 MB / 0.7318 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004206/0.4535, allocations: 1.972 MB / 0.7337 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/0.4543, allocations: 0.6061 MB / 0.7343 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/0.4545, allocations: 102.3 kB / 0.7344 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.4545, allocations: 42.97 kB / 0.7344 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=103): time 5.14e-06/0.4545, allocations: 11.88 kB / 0.7344 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110): time 0.005828/0.4604, allocations: 3.7 MB / 0.738 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.4604, allocations: 71.3 kB / 0.7381 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.4614, allocations: 0.9178 MB / 0.739 GB, free: 276 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/0.4615, allocations: 45.23 kB / 0.739 GB, free: 228 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.462, allocations: 0.7263 MB / 0.7398 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.4622, allocations: 383.5 kB / 0.7401 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003916/0.4626, allocations: 286.8 kB / 0.7404 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/0.4627, allocations: 301.1 kB / 0.7407 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000866/0.4636, allocations: 0.6206 MB / 0.7413 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.4648, allocations: 1.103 MB / 0.7424 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002207/0.467, allocations: 1.834 MB / 0.7442 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.138e-06/0.467, allocations: 4 kB / 0.7442 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003115/0.4702, allocations: 2.095 MB / 0.7462 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4702, allocations: 17.25 kB / 0.7462 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.4702, allocations: 15.12 kB / 0.7462 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007605/0.471, allocations: 263.2 kB / 0.7465 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4722, allocations: 377.7 kB / 0.7468 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007655/0.4799, allocations: 11.58 MB / 0.7582 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.4811, allocations: 127.8 kB / 0.7583 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.4812, allocations: 76.08 kB / 0.7583 GB, free: 13.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006192/0.4818, allocations: 409.1 kB / 0.7587 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.482, allocations: 126.5 kB / 0.7589 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002626/0.4846, allocations: 1.677 MB / 0.7605 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4847, allocations: 12 kB / 0.7605 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.4847, allocations: 4 kB / 0.7605 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.4847, allocations: 7.969 kB / 0.7605 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004864/0.4896, allocations: 3.287 MB / 0.7637 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/0.4896, allocations: 8 kB / 0.7637 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/0.4904, allocations: 219.6 kB / 0.7639 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006939/0.4911, allocations: 247.1 kB / 0.7642 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/0.4912, allocations: 27.94 kB / 0.7642 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007793/0.499, allocations: 11.57 MB / 0.7755 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.499, allocations: 4 kB / 0.7755 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.5016, allocations: 1.796 MB / 0.7773 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00063/0.5022, allocations: 307.4 kB / 0.7776 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.5024, allocations: 28 kB / 0.7776 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006948/0.5031, allocations: 99.86 kB / 0.7777 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.5033, allocations: 96.64 kB / 0.7778 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.5034, allocations: 32 kB / 0.7778 GB, free: 8.309 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007425/0.5041, allocations: 0.6216 MB / 0.7784 GB, free: 7.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5041, allocations: 0 / 0.7784 GB, free: 7.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001373/0.5055, allocations: 392 kB / 0.7788 GB, free: 7.297 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001998/0.5057, allocations: 147 kB / 0.7789 GB, free: 7.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003182/0.5089, allocations: 2.5 MB / 0.7814 GB, free: 4.547 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.5089, allocations: 4 kB / 0.7814 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.5108, allocations: 1.63 MB / 0.783 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.5123, allocations: 361.6 kB / 0.7833 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.5162, allocations: 2.746 MB / 0.786 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008116/0.517, allocations: 1.331 MB / 0.7873 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008269/0.5178, allocations: 359.3 kB / 0.7876 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.5181, allocations: 95.42 kB / 0.7877 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.5181, allocations: 0 / 0.7877 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.02633/0.5445, allocations: 17.07 MB / 0.8044 GB, free: 12.91 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)