Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004874/0.004874, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.00112/0.00112, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9301/0.9301, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 95.84 kB / 0.6815 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1446, allocations: 86.98 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.3535/0.4982, allocations: 20.22 MB / 0.7862 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.5085, allocations: 6.454 MB / 0.7925 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.5109, allocations: 86.41 kB / 0.7925 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005471/0.5164, allocations: 2.238 MB / 0.7947 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.5203, allocations: 1.241 MB / 0.7959 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003837/0.5242, allocations: 1.286 MB / 0.7972 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006259/0.5305, allocations: 4.86 MB / 0.8019 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009901/0.5404, allocations: 5.592 MB / 0.8074 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004304/0.5448, allocations: 2.118 MB / 0.8095 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004754/0.5495, allocations: 2.339 MB / 0.8118 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.5511, allocations: 434.4 kB / 0.8122 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.5549, allocations: 1.002 MB / 0.8131 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.5587, allocations: 1.669 MB / 0.8148 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005867/0.5646, allocations: 1.913 MB / 0.8166 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.5762, allocations: 6.517 MB / 0.823 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5762, allocations: 1.156 kB / 0.823 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.779e-06/0.5762, allocations: 0 / 0.823 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002994/0.5766, allocations: 3.938 kB / 0.823 GB, free: 2.445 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01232/0.5889, allocations: 3.46 MB / 0.8264 GB, free: 88 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.5889, allocations: 9.156 kB / 0.8264 GB, free: 88 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004504/0.5935, allocations: 0.6363 MB / 0.827 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/0.5984, allocations: 2.046 MB / 0.829 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.5986, allocations: 222.5 kB / 0.8292 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.5998, allocations: 288.5 kB / 0.8295 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.611, allocations: 4.888 MB / 0.8343 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/0.6112, allocations: 21.12 kB / 0.8343 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007596/0.6119, allocations: 130.3 kB / 0.8344 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004722/0.6124, allocations: 231.5 kB / 0.8346 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007308/0.6197, allocations: 3.747 MB / 0.8383 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0251/0.6449, allocations: 21.39 MB / 0.8592 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001807/0.6467, allocations: 1.308 MB / 0.8605 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.6482, allocations: 1.053 MB / 0.8615 GB, free: 196 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.6483, allocations: 16.94 kB / 0.8615 GB, free: 180 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.6483, allocations: 43.56 kB / 0.8616 GB, free: 124 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=107): time 3.066e-06/0.6483, allocations: 0 / 0.8616 GB, free: 124 kB / 0.6075 GB Notification: Performance of matching and sorting (n=138): time 0.02333/0.6717, allocations: 8.66 MB / 0.87 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.6717, allocations: 68.7 kB / 0.8701 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001702/0.6735, allocations: 1.134 MB / 0.8712 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.682e-05/0.6736, allocations: 45.7 kB / 0.8712 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/0.6744, allocations: 1.3 MB / 0.8725 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.6748, allocations: 477.1 kB / 0.873 GB, free: 4.348 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004851/0.6753, allocations: 291.3 kB / 0.8732 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.6754, allocations: 305.1 kB / 0.8735 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.6766, allocations: 0.9213 MB / 0.8744 GB, free: 2.832 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.6781, allocations: 1.322 MB / 0.8757 GB, free: 1.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.6811, allocations: 2.433 MB / 0.8781 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/0.6811, allocations: 4 kB / 0.8781 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005847/0.6869, allocations: 3.467 MB / 0.8815 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.687, allocations: 8 kB / 0.8815 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.687, allocations: 19.97 kB / 0.8815 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003138/0.6901, allocations: 1.184 MB / 0.8827 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008808/0.691, allocations: 255.6 kB / 0.8829 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01693/0.708, allocations: 13.84 MB / 0.8964 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.7093, allocations: 87.97 kB / 0.8965 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.7095, allocations: 64 kB / 0.8966 GB, free: 11.37 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001977/0.7115, allocations: 1.111 MB / 0.8977 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000381/0.7119, allocations: 166.1 kB / 0.8978 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005551/0.7174, allocations: 3.165 MB / 0.9009 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.7174, allocations: 12.38 kB / 0.9009 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-05/0.7175, allocations: 15.94 kB / 0.9009 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.7175, allocations: 7.969 kB / 0.9009 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01106/0.7286, allocations: 6.256 MB / 0.9071 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.7286, allocations: 4 kB / 0.9071 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005647/0.7292, allocations: 143.8 kB / 0.9072 GB, free: 328 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002907/0.7321, allocations: 1.081 MB / 0.9082 GB, free: 15.23 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-05/0.7322, allocations: 28 kB / 0.9083 GB, free: 15.21 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01599/0.7482, allocations: 13.52 MB / 0.9215 GB, free: 1.266 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/0.7482, allocations: 4 kB / 0.9215 GB, free: 1.262 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/0.7535, allocations: 3.154 MB / 0.9246 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.7546, allocations: 427 kB / 0.925 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003737/0.755, allocations: 35.94 kB / 0.925 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.7559, allocations: 83.89 kB / 0.9251 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003403/0.7563, allocations: 124.7 kB / 0.9252 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.7564, allocations: 36 kB / 0.9252 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001144/0.7575, allocations: 0.7671 MB / 0.926 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.7575, allocations: 0 / 0.926 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002317/0.7598, allocations: 0.6562 MB / 0.9266 GB, free: 11.88 MB / 0.6856 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002638/0.7601, allocations: 155 kB / 0.9268 GB, free: 11.72 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00499/0.7651, allocations: 3.135 MB / 0.9298 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.7651, allocations: 0 / 0.9298 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.7681, allocations: 1.958 MB / 0.9318 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.7707, allocations: 0.5039 MB / 0.9322 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009855/0.7806, allocations: 5.365 MB / 0.9375 GB, free: 0.625 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003431/0.784, allocations: 2.34 MB / 0.9398 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001332/0.7854, allocations: 350.1 kB / 0.9401 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/0.7857, allocations: 91.42 kB / 0.9402 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of SimCode: time 3.106e-06/0.7857, allocations: 0 / 0.9402 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of Templates: time 0.05664/0.8424, allocations: 33.22 MB / 0.9726 GB, free: 13.05 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)