Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 102.1 kB / 16.41 MB, free: 6.5 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.001022/0.001022, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002218/0.002218, allocations: 289.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.962/0.962, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002015, allocations: 91.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4705/0.4726, allocations: 86.99 MB / 0.7671 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0382/0.5108, allocations: 34.83 MB / 0.8011 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01824/0.5291, allocations: 11.49 MB / 0.8123 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002873/0.532, allocations: 163.2 kB / 0.8125 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01019/0.5422, allocations: 4.255 MB / 0.8166 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.548, allocations: 2.092 MB / 0.8187 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005978/0.554, allocations: 2.4 MB / 0.821 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009346/0.5634, allocations: 8.487 MB / 0.8293 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01272/0.5761, allocations: 11.11 MB / 0.8401 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.5817, allocations: 3.802 MB / 0.8439 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006263/0.588, allocations: 4.187 MB / 0.8479 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.59, allocations: 0.7774 MB / 0.8487 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/0.5943, allocations: 2.036 MB / 0.8507 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003775/0.5981, allocations: 3.056 MB / 0.8537 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.004652/0.6028, allocations: 3.393 MB / 0.857 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.616, allocations: 11.98 MB / 0.8687 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.616, allocations: 0 / 0.8687 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.616, allocations: 0 / 0.8687 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003575/0.6164, allocations: 4 kB / 0.8687 GB, free: 11.46 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01379/0.6302, allocations: 5.806 MB / 0.8744 GB, free: 5.578 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.6303, allocations: 12.03 kB / 0.8744 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006505/0.6368, allocations: 1.048 MB / 0.8754 GB, free: 4.512 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007064/0.6439, allocations: 3.453 MB / 0.8788 GB, free: 1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004486/0.6444, allocations: 415.5 kB / 0.8792 GB, free: 0.5938 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002039/0.6464, allocations: 0.5393 MB / 0.8797 GB, free: 56 kB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01846/0.6649, allocations: 9.087 MB / 0.8886 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.6651, allocations: 27.69 kB / 0.8886 GB, free: 6.621 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001133/0.6663, allocations: 240 kB / 0.8888 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003687/0.6667, allocations: 354.8 kB / 0.8892 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/0.68, allocations: 6.826 MB / 0.8958 GB, free: 15.2 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04369/0.7237, allocations: 39.79 MB / 0.9347 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.7275, allocations: 3.104 MB / 0.9377 GB, free: 456 kB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002642/0.7302, allocations: 1.978 MB / 0.9397 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001091/0.7303, allocations: 25.94 kB / 0.9397 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.7304, allocations: 48.56 kB / 0.9397 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=179): time 4.338e-06/0.7304, allocations: 0 / 0.9397 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=182): time 0.02425/0.7546, allocations: 9.985 MB / 0.9495 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.7547, allocations: 69.41 kB / 0.9495 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.757, allocations: 1.526 MB / 0.951 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.7571, allocations: 57.7 kB / 0.9511 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001303/0.7584, allocations: 2.253 MB / 0.9533 GB, free: 312 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/0.759, allocations: 0.6277 MB / 0.9539 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006183/0.7596, allocations: 407.9 kB / 0.9543 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.895e-05/0.7597, allocations: 309 kB / 0.9546 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.7614, allocations: 1.179 MB / 0.9557 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.7636, allocations: 1.885 MB / 0.9576 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004135/0.7677, allocations: 3.367 MB / 0.9609 GB, free: 7.895 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.858e-05/0.7678, allocations: 8 kB / 0.9609 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007644/0.7754, allocations: 4.584 MB / 0.9653 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.7755, allocations: 17 kB / 0.9654 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/0.7755, allocations: 20 kB / 0.9654 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/0.7793, allocations: 1.591 MB / 0.9669 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/0.7806, allocations: 355.3 kB / 0.9673 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4095/1.19, allocations: 18.56 MB / 0.9854 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.192, allocations: 120.4 kB / 0.9855 GB, free: 173.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.192, allocations: 100.9 kB / 0.9856 GB, free: 173.4 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002665/1.195, allocations: 1.899 MB / 0.9875 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/1.195, allocations: 219.4 kB / 0.9877 GB, free: 172.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006091/1.201, allocations: 4.096 MB / 0.9917 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.201, allocations: 19.25 kB / 0.9917 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/1.201, allocations: 15.31 kB / 0.9917 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/1.201, allocations: 7.5 kB / 0.9917 GB, free: 170.9 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.214, allocations: 9.469 MB / 1.001 GB, free: 166.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/1.214, allocations: 7.625 kB / 1.001 GB, free: 166.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/1.214, allocations: 180 kB / 1.001 GB, free: 166.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/1.217, allocations: 1.36 MB / 1.002 GB, free: 165.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/1.218, allocations: 36 kB / 1.003 GB, free: 165.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01657/1.234, allocations: 17.34 MB / 1.019 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.234, allocations: 12 kB / 1.019 GB, free: 148.2 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005491/1.24, allocations: 4.064 MB / 1.023 GB, free: 144.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008982/1.241, allocations: 0.5254 MB / 1.024 GB, free: 143.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/1.241, allocations: 43.92 kB / 1.024 GB, free: 143.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/1.242, allocations: 87.89 kB / 1.024 GB, free: 143.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004158/1.242, allocations: 165.7 kB / 1.024 GB, free: 143.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.294e-05/1.242, allocations: 48 kB / 1.024 GB, free: 143.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00107/1.243, allocations: 1.001 MB / 1.025 GB, free: 142.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.243, allocations: 0 / 1.025 GB, free: 142.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002801/1.246, allocations: 0.9844 MB / 1.026 GB, free: 141.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002594/1.247, allocations: 159.5 kB / 1.026 GB, free: 141.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005586/1.252, allocations: 4.296 MB / 1.031 GB, free: 136.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.252, allocations: 4 kB / 1.031 GB, free: 136.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/1.256, allocations: 2.664 MB / 1.033 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/1.259, allocations: 0.7905 MB / 1.034 GB, free: 133.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/1.273, allocations: 9.353 MB / 1.043 GB, free: 124 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003335/1.276, allocations: 3.665 MB / 1.047 GB, free: 120.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005169/1.277, allocations: 127.4 kB / 1.047 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.745e-06/1.277, allocations: 0 / 1.047 GB, free: 120.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.1296/1.406, allocations: 159.7 MB / 1.203 GB, free: 8.434 MB / 0.7794 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)