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.001084/0.001084, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00127/0.00127, allocations: 197.6 kB / 16.14 MB, free: 6.664 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002037, allocations: 282.9 kB / 290.2 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 94.88 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 86.98 MB / 0.6795 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01227/0.1595, allocations: 11.03 MB / 0.6902 GB, free: 6.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.008029/0.1675, allocations: 5.858 MB / 0.6959 GB, free: 244 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005503/0.1681, allocations: 43.69 kB / 0.696 GB, free: 200 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003528/0.1716, allocations: 1.616 MB / 0.6976 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.1736, allocations: 1.058 MB / 0.6986 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1752, allocations: 0.7462 MB / 0.6993 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002371/0.1776, allocations: 2.852 MB / 0.7021 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.1791, allocations: 1.328 MB / 0.7034 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008477/0.18, allocations: 0.7468 MB / 0.7041 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009768/0.181, allocations: 0.9221 MB / 0.705 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/0.1811, allocations: 87.98 kB / 0.7051 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/0.1834, allocations: 1.462 MB / 0.7065 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.1838, allocations: 0.4946 MB / 0.707 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000651/0.1845, allocations: 0.7497 MB / 0.7078 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.1868, allocations: 2.461 MB / 0.7102 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1868, allocations: 0 / 0.7102 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1868, allocations: 0 / 0.7102 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.1868, allocations: 0 / 0.7102 GB, free: 1.621 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002568/0.1894, allocations: 1.86 MB / 0.712 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1894, allocations: 12.03 kB / 0.712 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004285/0.1937, allocations: 0.666 MB / 0.7126 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.195, allocations: 0.9107 MB / 0.7135 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.02e-05/0.1951, allocations: 94.89 kB / 0.7136 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.1953, allocations: 132.2 kB / 0.7137 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.1982, allocations: 2.21 MB / 0.7159 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.1983, allocations: 7.938 kB / 0.7159 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001319/0.1984, allocations: 63.95 kB / 0.716 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/0.1986, allocations: 170.2 kB / 0.7161 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002611/0.2012, allocations: 1.867 MB / 0.718 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.212, allocations: 12.48 MB / 0.7301 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004254/0.2163, allocations: 1.977 MB / 0.7321 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008179/0.2171, allocations: 0.6049 MB / 0.7327 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.2173, allocations: 106.1 kB / 0.7328 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.2173, allocations: 43.56 kB / 0.7328 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.2173, allocations: 0 / 0.7328 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110): time 0.005828/0.2232, allocations: 3.702 MB / 0.7364 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.864e-05/0.2232, allocations: 64.41 kB / 0.7365 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009625/0.2242, allocations: 0.9204 MB / 0.7374 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.2243, allocations: 37.7 kB / 0.7374 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004393/0.2247, allocations: 0.7392 MB / 0.7381 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.225, allocations: 386.5 kB / 0.7385 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.2254, allocations: 287.2 kB / 0.7388 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/0.2255, allocations: 305.1 kB / 0.7391 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000879/0.2263, allocations: 0.609 MB / 0.7397 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.2275, allocations: 1.113 MB / 0.7408 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002146/0.2297, allocations: 1.828 MB / 0.7425 GB, free: 14.47 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.2297, allocations: 4 kB / 0.7425 GB, free: 14.47 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003143/0.2328, allocations: 2.108 MB / 0.7446 GB, free: 12.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2329, allocations: 12 kB / 0.7446 GB, free: 12.32 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.2329, allocations: 19.98 kB / 0.7446 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007993/0.2337, allocations: 254.9 kB / 0.7449 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.2349, allocations: 375.4 kB / 0.7452 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.2426, allocations: 10.75 MB / 0.7557 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001063/0.2437, allocations: 127.8 kB / 0.7559 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.2438, allocations: 71.98 kB / 0.7559 GB, free: 15.64 MB / 0.5606 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.0005905/0.2444, allocations: 410.6 kB / 0.7563 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.2446, allocations: 130.4 kB / 0.7564 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002728/0.2474, allocations: 1.669 MB / 0.7581 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.2474, allocations: 15.98 kB / 0.7581 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/0.2474, allocations: 4 kB / 0.7581 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.2474, allocations: 7.984 kB / 0.7581 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004653/0.2521, allocations: 3.291 MB / 0.7613 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.2521, allocations: 4 kB / 0.7613 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000809/0.2529, allocations: 223.6 kB / 0.7615 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006939/0.2536, allocations: 255.2 kB / 0.7618 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.2537, allocations: 28 kB / 0.7618 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2755/0.5292, allocations: 10.73 MB / 0.7723 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.5293, allocations: 9.094 kB / 0.7723 GB, free: 85.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.532, allocations: 1.802 MB / 0.774 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004662/0.5325, allocations: 308.9 kB / 0.7743 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.5326, allocations: 28.45 kB / 0.7744 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.5333, allocations: 90.56 kB / 0.7745 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.5335, allocations: 100 kB / 0.7745 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.564e-05/0.5336, allocations: 36.61 kB / 0.7746 GB, free: 85.43 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007888/0.5344, allocations: 0.6171 MB / 0.7752 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5344, allocations: 1.969 kB / 0.7752 GB, free: 85.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001393/0.5358, allocations: 390.6 kB / 0.7756 GB, free: 85.32 MB / 0.5606 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.0001941/0.536, allocations: 139.3 kB / 0.7757 GB, free: 85.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003136/0.5391, allocations: 2.49 MB / 0.7781 GB, free: 84.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.5392, allocations: 3.969 kB / 0.7781 GB, free: 84.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.5409, allocations: 1.634 MB / 0.7797 GB, free: 83.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.5424, allocations: 333.9 kB / 0.78 GB, free: 83.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003986/0.5464, allocations: 3.378 MB / 0.7833 GB, free: 81.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006457/0.5471, allocations: 1.327 MB / 0.7846 GB, free: 80.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009139/0.548, allocations: 359.2 kB / 0.785 GB, free: 80.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5483, allocations: 95.66 kB / 0.7851 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.5483, allocations: 0 / 0.7851 GB, free: 80.29 MB / 0.5606 GB Notification: Performance of Templates: time 0.0274/0.5757, allocations: 16.46 MB / 0.8011 GB, free: 75.89 MB / 0.5606 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)