Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, 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.00197/0.00197, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.323/1.323, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002061/0.002062, allocations: 285.9 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9454/0.9454, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 92.67 kB / 0.5945 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.138, allocations: 86.98 MB / 0.6795 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.023/0.161, allocations: 23.2 MB / 0.7021 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0104/0.1714, allocations: 6.509 MB / 0.7085 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/0.1729, allocations: 91.5 kB / 0.7086 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003273/0.1762, allocations: 1.345 MB / 0.7099 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003426/0.1796, allocations: 1.751 MB / 0.7116 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.1824, allocations: 1.325 MB / 0.7129 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008849/0.1913, allocations: 10.62 MB / 0.7232 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009618/0.2009, allocations: 7.614 MB / 0.7307 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003375/0.2043, allocations: 2.402 MB / 0.733 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004313/0.2087, allocations: 3.614 MB / 0.7365 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0006888/0.2094, allocations: 376 kB / 0.7369 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.2116, allocations: 1.193 MB / 0.7381 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002204/0.2139, allocations: 2.319 MB / 0.7403 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.2166, allocations: 2.356 MB / 0.7426 GB, free: 276 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007288/0.2238, allocations: 8.382 MB / 0.7508 GB, free: 7.863 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2239, allocations: 4 kB / 0.7508 GB, free: 7.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2239, allocations: 0 / 0.7508 GB, free: 7.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.000128/0.224, allocations: 0 / 0.7508 GB, free: 7.859 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.00716/0.2312, allocations: 4.422 MB / 0.7551 GB, free: 3.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.2312, allocations: 8.031 kB / 0.7552 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007912/0.2391, allocations: 1.685 MB / 0.7568 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.2439, allocations: 2.571 MB / 0.7593 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.2441, allocations: 271.6 kB / 0.7596 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00067/0.2448, allocations: 372.2 kB / 0.7599 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01154/0.2563, allocations: 7.483 MB / 0.7672 GB, free: 6.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.185e-05/0.2564, allocations: 11.88 kB / 0.7672 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000425/0.2568, allocations: 163.9 kB / 0.7674 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005403/0.2574, allocations: 483.3 kB / 0.7679 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008744/0.2661, allocations: 5.697 MB / 0.7734 GB, free: 332 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3171/0.5832, allocations: 31.71 MB / 0.8044 GB, free: 62.01 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.5857, allocations: 2.093 MB / 0.8064 GB, free: 61.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002428/0.5881, allocations: 2.184 MB / 0.8086 GB, free: 60.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001437/0.5883, allocations: 18.53 kB / 0.8086 GB, free: 60.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5883, allocations: 50.03 kB / 0.8086 GB, free: 60.23 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=146): time 3.336e-06/0.5883, allocations: 1.531 kB / 0.8086 GB, free: 60.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=251): time 0.2578/0.8461, allocations: 77 MB / 0.8838 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.8462, allocations: 77.41 kB / 0.8839 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.8484, allocations: 1.662 MB / 0.8855 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.8489, allocations: 69.7 kB / 0.8856 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.8499, allocations: 1.747 MB / 0.8873 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008262/0.8508, allocations: 0.8578 MB / 0.8881 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000963/0.8517, allocations: 477.3 kB / 0.8886 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.114e-05/0.8518, allocations: 309.1 kB / 0.8889 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/0.8554, allocations: 2.73 MB / 0.8915 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004009/0.8594, allocations: 3.328 MB / 0.8948 GB, free: 128 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008003/0.8675, allocations: 6.399 MB / 0.901 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.8675, allocations: 4 kB / 0.9011 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03131/0.8988, allocations: 14.68 MB / 0.9154 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.8989, allocations: 16.03 kB / 0.9154 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.8989, allocations: 19.98 kB / 0.9154 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02838/0.9273, allocations: 9.238 MB / 0.9244 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.9285, allocations: 295.5 kB / 0.9247 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07207/1.001, allocations: 47.45 MB / 0.9711 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/1.003, allocations: 223.7 kB / 0.9713 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/1.004, allocations: 100 kB / 0.9714 GB, free: 0.5977 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002515/1.006, allocations: 1.583 MB / 0.9729 GB, free: 15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/1.007, allocations: 249 kB / 0.9732 GB, free: 14.76 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03033/1.037, allocations: 14.75 MB / 0.9876 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-05/1.037, allocations: 24 kB / 0.9876 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001337/1.037, allocations: 44 kB / 0.9876 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.588e-05/1.037, allocations: 11.95 kB / 0.9876 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/1.077, allocations: 20.52 MB / 1.008 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.938e-05/1.077, allocations: 4 kB / 1.008 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/1.078, allocations: 175.2 kB / 1.008 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0273/1.105, allocations: 9 MB / 1.017 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004145/1.106, allocations: 47.94 kB / 1.017 GB, free: 1.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3959/1.502, allocations: 47.02 MB / 1.063 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/1.502, allocations: 9.312 kB / 1.063 GB, free: 239.8 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/1.532, allocations: 14.37 MB / 1.077 GB, free: 236.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/1.534, allocations: 0.8453 MB / 1.077 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005382/1.534, allocations: 52.02 kB / 1.078 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001845/1.536, allocations: 209.9 kB / 1.078 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001316/1.538, allocations: 238.1 kB / 1.078 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002253/1.538, allocations: 67.78 kB / 1.078 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00142/1.539, allocations: 1.131 MB / 1.079 GB, free: 235.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.539, allocations: 0 / 1.079 GB, free: 235.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004416/1.544, allocations: 1.617 MB / 1.081 GB, free: 235.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003636/1.544, allocations: 164.8 kB / 1.081 GB, free: 235.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01857/1.563, allocations: 10.52 MB / 1.091 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/1.563, allocations: 0 / 1.091 GB, free: 231.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01481/1.577, allocations: 7.316 MB / 1.098 GB, free: 228.3 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.58, allocations: 0.5163 MB / 1.099 GB, free: 228 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01194/1.592, allocations: 10.61 MB / 1.109 GB, free: 219.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002479/1.595, allocations: 3.224 MB / 1.112 GB, free: 216 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001002/1.596, allocations: 399.6 kB / 1.113 GB, free: 215.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/1.596, allocations: 95.44 kB / 1.113 GB, free: 215.5 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/1.596, allocations: 0 / 1.113 GB, free: 215.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.09672/1.693, allocations: 89.69 MB / 1.2 GB, free: 126.2 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)