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.001142/0.001142, allocations: 105.7 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.001224/0.001224, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.319/1.319, 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.002444/0.002444, allocations: 290.5 kB / 291.5 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.9931/0.9931, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4544, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01222/0.4667, allocations: 10.07 MB / 0.7769 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.4725, allocations: 3.182 MB / 0.78 GB, free: 6.629 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008832/0.4734, allocations: 39.81 kB / 0.78 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001925/0.4753, allocations: 0.5907 MB / 0.7806 GB, free: 5.996 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.4774, allocations: 0.7779 MB / 0.7814 GB, free: 5.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.4793, allocations: 0.7434 MB / 0.7821 GB, free: 4.473 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003637/0.4829, allocations: 2.996 MB / 0.785 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.4862, allocations: 2.586 MB / 0.7876 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002052/0.4883, allocations: 1.262 MB / 0.7888 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002497/0.4908, allocations: 1.566 MB / 0.7903 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006612/0.4915, allocations: 236 kB / 0.7905 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4929, allocations: 0.5071 MB / 0.791 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.4944, allocations: 1.06 MB / 0.7921 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002273/0.4967, allocations: 1.116 MB / 0.7932 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.5014, allocations: 3.687 MB / 0.7968 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.5014, allocations: 0 / 0.7968 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5014, allocations: 0 / 0.7968 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001102/0.5015, allocations: 0 / 0.7968 GB, free: 5.379 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.005852/0.5074, allocations: 2.142 MB / 0.7989 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.5074, allocations: 8.031 kB / 0.7989 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009509/0.5169, allocations: 1.317 MB / 0.8001 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002944/0.5199, allocations: 1.294 MB / 0.8014 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.5201, allocations: 115.3 kB / 0.8015 GB, free: 412 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007354/0.5208, allocations: 144.3 kB / 0.8017 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007103/0.528, allocations: 3.441 MB / 0.805 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.485e-05/0.528, allocations: 11.84 kB / 0.805 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003898/0.5284, allocations: 63.97 kB / 0.8051 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.5287, allocations: 203.1 kB / 0.8053 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005606/0.5343, allocations: 3.135 MB / 0.8083 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.5538, allocations: 13.55 MB / 0.8216 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.5565, allocations: 1.728 MB / 0.8233 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002116/0.5587, allocations: 1.441 MB / 0.8247 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.5588, allocations: 13 kB / 0.8247 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.5588, allocations: 47.5 kB / 0.8247 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.5588, allocations: 0 / 0.8247 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.1526/0.7115, allocations: 36.68 MB / 0.8605 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.7116, allocations: 73.41 kB / 0.8606 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.7131, allocations: 1.053 MB / 0.8616 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003411/0.7135, allocations: 61.64 kB / 0.8617 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.714, allocations: 0.7835 MB / 0.8625 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.7147, allocations: 0.6238 MB / 0.8631 GB, free: 160 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008802/0.7156, allocations: 367.4 kB / 0.8634 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.64e-05/0.7157, allocations: 305.1 kB / 0.8637 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.7185, allocations: 1.928 MB / 0.8656 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003021/0.7215, allocations: 2.292 MB / 0.8678 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005856/0.7274, allocations: 4.396 MB / 0.8721 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.7274, allocations: 4 kB / 0.8721 GB, free: 6.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02063/0.7481, allocations: 9.013 MB / 0.8809 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.7481, allocations: 12.59 kB / 0.881 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.7482, allocations: 12 kB / 0.881 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01716/0.7653, allocations: 4.973 MB / 0.8858 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008611/0.7662, allocations: 191.7 kB / 0.886 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05769/0.8239, allocations: 38.9 MB / 0.924 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.826, allocations: 103.9 kB / 0.9241 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003267/0.8263, allocations: 68 kB / 0.9242 GB, free: 0.7344 MB / 0.6856 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.001422/0.8278, allocations: 0.8135 MB / 0.9249 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003858/0.8281, allocations: 138.3 kB / 0.9251 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/0.8491, allocations: 8.882 MB / 0.9338 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.8491, allocations: 20 kB / 0.9338 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.55e-05/0.8492, allocations: 32 kB / 0.9338 GB, free: 6.797 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.585e-05/0.8493, allocations: 11.95 kB / 0.9338 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02798/0.8773, allocations: 13.4 MB / 0.9469 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.146e-05/0.8773, allocations: 4 kB / 0.9469 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.8778, allocations: 119.8 kB / 0.947 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01775/0.8956, allocations: 4.838 MB / 0.9517 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003339/0.896, allocations: 36 kB / 0.9518 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3749/1.271, allocations: 36.81 MB / 0.9877 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/1.271, allocations: 6.891 kB / 0.9877 GB, free: 183.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01745/1.288, allocations: 8.593 MB / 0.9961 GB, free: 180.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.29, allocations: 0.6416 MB / 0.9968 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/1.29, allocations: 35.25 kB / 0.9968 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/1.291, allocations: 97.53 kB / 0.9969 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000788/1.292, allocations: 159 kB / 0.997 GB, free: 180.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.292, allocations: 47.75 kB / 0.9971 GB, free: 180.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007942/1.293, allocations: 0.7377 MB / 0.9978 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/1.293, allocations: 2.562 kB / 0.9978 GB, free: 180.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00262/1.296, allocations: 1.004 MB / 0.9988 GB, free: 179.1 MB / 0.7325 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.0002759/1.296, allocations: 151.6 kB / 0.9989 GB, free: 179 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00815/1.304, allocations: 5.948 MB / 1.005 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.304, allocations: 0 / 1.005 GB, free: 173.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006988/1.311, allocations: 3.952 MB / 1.009 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/1.313, allocations: 237.1 kB / 1.009 GB, free: 169.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/1.319, allocations: 5.357 MB / 1.014 GB, free: 164.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/1.321, allocations: 1.887 MB / 1.016 GB, free: 162.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/1.321, allocations: 71.42 kB / 1.016 GB, free: 162.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.321, allocations: 7.109 kB / 1.016 GB, free: 162.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.05104/1.372, allocations: 69.41 MB / 1.084 GB, free: 92.98 MB / 0.7325 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)