Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 99.44 kB / 16.35 MB, free: 6.285 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.001088/0.001088, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002024, allocations: 283.4 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8952/0.8952, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002659/0.00266, allocations: 91.42 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1601, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2709/0.4311, allocations: 14.76 MB / 0.696 GB, free: 11.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01422/0.4454, allocations: 10.35 MB / 0.7061 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.4469, allocations: 62 kB / 0.7062 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003991/0.4509, allocations: 1.679 MB / 0.7078 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005187/0.4561, allocations: 1.815 MB / 0.7096 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001934/0.4581, allocations: 0.7556 MB / 0.7103 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003765/0.4618, allocations: 2.758 MB / 0.713 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001814/0.4637, allocations: 1.421 MB / 0.7144 GB, free: 376 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.4661, allocations: 1.499 MB / 0.7159 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.468, allocations: 1.164 MB / 0.717 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.4682, allocations: 160.6 kB / 0.7172 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.4699, allocations: 0.791 MB / 0.7179 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006749/0.4706, allocations: 0.6024 MB / 0.7185 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.4716, allocations: 0.9482 MB / 0.7195 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003237/0.4749, allocations: 2.77 MB / 0.7222 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4749, allocations: 1.219 kB / 0.7222 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4749, allocations: 4 kB / 0.7222 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.4749, allocations: 0 / 0.7222 GB, free: 13.19 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00395/0.4789, allocations: 2.171 MB / 0.7243 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4789, allocations: 9.125 kB / 0.7243 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.4898, allocations: 2.108 MB / 0.7264 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002983/0.4928, allocations: 1.314 MB / 0.7276 GB, free: 9.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/0.4929, allocations: 85.25 kB / 0.7277 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002654/0.4932, allocations: 111 kB / 0.7278 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005488/0.4987, allocations: 2.677 MB / 0.7304 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.183e-05/0.4987, allocations: 8.469 kB / 0.7304 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.4989, allocations: 54.33 kB / 0.7305 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000608/0.4995, allocations: 190.3 kB / 0.7307 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006963/0.5065, allocations: 2.791 MB / 0.7334 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.5203, allocations: 10.46 MB / 0.7436 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005877/0.5262, allocations: 2.342 MB / 0.7459 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002796/0.529, allocations: 1.277 MB / 0.7472 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.02e-05/0.5291, allocations: 9 kB / 0.7472 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.5292, allocations: 48.06 kB / 0.7472 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=89): time 2.565e-06/0.5292, allocations: 0 / 0.7472 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=153): time 0.05504/0.5842, allocations: 16.48 MB / 0.7633 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5843, allocations: 64.72 kB / 0.7634 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/0.5861, allocations: 1.176 MB / 0.7645 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002744/0.5864, allocations: 49.7 kB / 0.7646 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005454/0.587, allocations: 0.7514 MB / 0.7653 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005113/0.5875, allocations: 0.5082 MB / 0.7658 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005543/0.588, allocations: 295.3 kB / 0.7661 GB, free: 7.777 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.5881, allocations: 309.1 kB / 0.7664 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/0.5914, allocations: 1.507 MB / 0.7678 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003454/0.5949, allocations: 1.78 MB / 0.7696 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006623/0.6015, allocations: 3.373 MB / 0.7729 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6015, allocations: 0 / 0.7729 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01243/0.614, allocations: 5.276 MB / 0.778 GB, free: 11.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.614, allocations: 8 kB / 0.778 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.614, allocations: 8 kB / 0.778 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006435/0.6205, allocations: 1.879 MB / 0.7799 GB, free: 9.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.6223, allocations: 411.2 kB / 0.7803 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0289/0.6512, allocations: 24.14 MB / 0.8038 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.6539, allocations: 308.1 kB / 0.8041 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/0.6541, allocations: 63.97 kB / 0.8042 GB, free: 15.39 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * 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 {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009127/0.655, allocations: 473.4 kB / 0.8046 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.6553, allocations: 177.8 kB / 0.8048 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01252/0.6679, allocations: 5.317 MB / 0.81 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.6679, allocations: 12 kB / 0.81 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-05/0.668, allocations: 23.94 kB / 0.81 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/0.668, allocations: 7.969 kB / 0.8101 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.6837, allocations: 7.43 MB / 0.8173 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.6838, allocations: 4 kB / 0.8173 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.6853, allocations: 355.7 kB / 0.8176 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005737/0.6911, allocations: 1.701 MB / 0.8193 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.6912, allocations: 47.95 kB / 0.8194 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02624/0.7175, allocations: 23.3 MB / 0.8421 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.7175, allocations: 4.031 kB / 0.8421 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01161/0.7291, allocations: 4.895 MB / 0.8469 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001403/0.7306, allocations: 494.7 kB / 0.8474 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002524/0.7308, allocations: 28 kB / 0.8474 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.7328, allocations: 319.5 kB / 0.8477 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/0.7333, allocations: 153 kB / 0.8478 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.7335, allocations: 51.97 kB / 0.8479 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001037/0.7345, allocations: 0.7899 MB / 0.8487 GB, free: 420 kB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.7345, allocations: 0 / 0.8487 GB, free: 420 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001942/0.7365, allocations: 0.6568 MB / 0.8493 GB, free: 15.75 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002952/0.7368, allocations: 144 kB / 0.8494 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01046/0.7473, allocations: 5.155 MB / 0.8545 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7473, allocations: 0 / 0.8545 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006547/0.7538, allocations: 3.351 MB / 0.8578 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/0.7562, allocations: 0.5672 MB / 0.8583 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007965/0.7642, allocations: 4.284 MB / 0.8625 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/0.7654, allocations: 1.561 MB / 0.864 GB, free: 428 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001205/0.7667, allocations: 398.3 kB / 0.8644 GB, free: 24 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003722/0.767, allocations: 107.4 kB / 0.8645 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of SimCode: time 4.81e-07/0.767, allocations: 0 / 0.8645 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of Templates: time 0.06569/0.8327, allocations: 44.88 MB / 0.9083 GB, free: 3.562 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)