Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004476/0.004476, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.001507/0.001507, allocations: 194.2 kB / 16.67 MB, free: 5.973 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002253/0.002253, allocations: 286.8 kB / 290.8 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9577/0.9577, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001848/0.001848, allocations: 103.8 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1604, allocations: 86.97 MB / 0.7664 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.3373/0.4978, allocations: 10.06 MB / 0.7762 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004668/0.5025, allocations: 3.177 MB / 0.7793 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004562/0.503, allocations: 36.97 kB / 0.7794 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.5045, allocations: 0.5946 MB / 0.7799 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001565/0.5061, allocations: 0.7817 MB / 0.7807 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001614/0.5077, allocations: 0.7345 MB / 0.7814 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.5104, allocations: 3.002 MB / 0.7844 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.5131, allocations: 2.59 MB / 0.7869 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001639/0.5147, allocations: 1.262 MB / 0.7881 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.5165, allocations: 1.56 MB / 0.7896 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003076/0.5168, allocations: 235.7 kB / 0.7899 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009463/0.5177, allocations: 0.4981 MB / 0.7904 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009246/0.5187, allocations: 1.072 MB / 0.7914 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000914/0.5196, allocations: 1.115 MB / 0.7925 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003522/0.5231, allocations: 3.687 MB / 0.7961 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.5231, allocations: 0 / 0.7961 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5231, allocations: 0.8906 kB / 0.7961 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.409e-05/0.5232, allocations: 1.125 kB / 0.7961 GB, free: 3.668 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.0039/0.5271, allocations: 2.145 MB / 0.7982 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5272, allocations: 9.406 kB / 0.7982 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008404/0.5356, allocations: 1.311 MB / 0.7995 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002903/0.5385, allocations: 1.296 MB / 0.8007 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.951e-05/0.5386, allocations: 112.1 kB / 0.8008 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/0.539, allocations: 149.6 kB / 0.801 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005865/0.5449, allocations: 3.439 MB / 0.8044 GB, free: 108 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/0.5449, allocations: 10.64 kB / 0.8044 GB, free: 100 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00022/0.5452, allocations: 74.84 kB / 0.8044 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002867/0.5454, allocations: 205.8 kB / 0.8046 GB, free: 12 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.5505, allocations: 3.125 MB / 0.8077 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.5687, allocations: 13.55 MB / 0.8209 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002627/0.5714, allocations: 1.725 MB / 0.8226 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.5733, allocations: 1.443 MB / 0.824 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.626e-05/0.5734, allocations: 11.16 kB / 0.824 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.5735, allocations: 40.12 kB / 0.8241 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=104): time 2.655e-06/0.5735, allocations: 3.938 kB / 0.8241 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=183): time 0.127/0.7005, allocations: 36.69 MB / 0.8599 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.7006, allocations: 69.41 kB / 0.86 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.7023, allocations: 1.05 MB / 0.861 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.7026, allocations: 49.7 kB / 0.861 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.7032, allocations: 0.799 MB / 0.8618 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007924/0.704, allocations: 0.62 MB / 0.8624 GB, free: 376 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/0.7051, allocations: 367.3 kB / 0.8628 GB, free: 4 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7052, allocations: 301.1 kB / 0.8631 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.708, allocations: 1.936 MB / 0.8649 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003038/0.711, allocations: 2.281 MB / 0.8672 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005779/0.7168, allocations: 4.39 MB / 0.8715 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.188e-06/0.7168, allocations: 0 / 0.8715 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01881/0.7356, allocations: 9.022 MB / 0.8803 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.7357, allocations: 20 kB / 0.8803 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.7357, allocations: 8 kB / 0.8803 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01594/0.7517, allocations: 4.976 MB / 0.8852 GB, free: 8.773 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008046/0.7525, allocations: 191.7 kB / 0.8853 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05494/0.8074, allocations: 38.9 MB / 0.9233 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.8094, allocations: 103.9 kB / 0.9234 GB, free: 1.012 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004042/0.8098, allocations: 67.98 kB / 0.9235 GB, free: 0.9453 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * 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: 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001559/0.8114, allocations: 0.8133 MB / 0.9243 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004035/0.8118, allocations: 142.5 kB / 0.9244 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0189/0.8307, allocations: 8.882 MB / 0.9331 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/0.8308, allocations: 16 kB / 0.9331 GB, free: 7.043 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.467e-05/0.8309, allocations: 32 kB / 0.9331 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.752e-05/0.8309, allocations: 11.95 kB / 0.9331 GB, free: 7 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02586/0.8568, allocations: 13.4 MB / 0.9462 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.117e-05/0.8568, allocations: 4 kB / 0.9462 GB, free: 9.438 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/0.8574, allocations: 123.8 kB / 0.9464 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/0.874, allocations: 4.837 MB / 0.9511 GB, free: 4.465 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003859/0.8745, allocations: 36 kB / 0.9511 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05231/0.9268, allocations: 36.82 MB / 0.9871 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.9268, allocations: 4 kB / 0.9871 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01874/0.9456, allocations: 8.588 MB / 0.9955 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.9471, allocations: 0.6358 MB / 0.9961 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004714/0.9475, allocations: 39.94 kB / 0.9961 GB, free: 5.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001341/0.9489, allocations: 95.88 kB / 0.9962 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008126/0.9497, allocations: 161.7 kB / 0.9964 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.9499, allocations: 44 kB / 0.9964 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001079/0.951, allocations: 0.7382 MB / 0.9971 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.951, allocations: 0 / 0.9971 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003665/0.9547, allocations: 1.008 MB / 0.9981 GB, free: 3.598 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003249/0.955, allocations: 151.5 kB / 0.9983 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009617/0.9646, allocations: 5.928 MB / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.9647, allocations: 192 / 1.004 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007476/0.9722, allocations: 3.948 MB / 1.008 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.9738, allocations: 238.6 kB / 1.008 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/0.9824, allocations: 5.069 MB / 1.013 GB, free: 4.121 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001958/0.9843, allocations: 1.863 MB / 1.015 GB, free: 2.219 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0008375/0.9852, allocations: 359.3 kB / 1.015 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.9854, allocations: 63.44 kB / 1.015 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of SimCode: time 5.01e-07/0.9854, allocations: 0 / 1.015 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of Templates: time 0.08189/1.067, allocations: 61.21 MB / 1.075 GB, free: 4.738 MB / 0.8262 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)