Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008/0.0008, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001006/0.001006, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 269.7 kB / 291.4 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004596/0.0004597, allocations: 17.75 kB / 0.598 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2124, allocations: 88.55 MB / 0.6845 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03465/0.2471, allocations: 30.32 MB / 0.7141 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02351/0.2707, allocations: 13.94 MB / 0.7277 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004144/0.2749, allocations: 135.2 kB / 0.7278 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.2779, allocations: 0.7053 MB / 0.7285 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008554/0.2865, allocations: 2.407 MB / 0.7309 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005264/0.2918, allocations: 1.383 MB / 0.7322 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01397/0.3058, allocations: 9.786 MB / 0.7418 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01653/0.3224, allocations: 9.844 MB / 0.7514 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.3288, allocations: 2.958 MB / 0.7543 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007007/0.3359, allocations: 3.387 MB / 0.7576 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001272/0.3372, allocations: 296 kB / 0.7579 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.3406, allocations: 0.8155 MB / 0.7587 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002851/0.3435, allocations: 2.275 MB / 0.7609 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.4001/0.7436, allocations: 1.135 MB / 0.762 GB, free: 22.79 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01706/0.7607, allocations: 9.154 MB / 0.7709 GB, free: 22.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.7608, allocations: 0 / 0.7709 GB, free: 22.45 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7608, allocations: 0.8125 kB / 0.7709 GB, free: 22.45 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004915/0.7613, allocations: 0 / 0.7709 GB, free: 22.45 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01877/0.7801, allocations: 4.896 MB / 0.7757 GB, free: 20.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.7801, allocations: 14.28 kB / 0.7757 GB, free: 20.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009332/0.7895, allocations: 1.14 MB / 0.7769 GB, free: 20.03 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009351/0.7988, allocations: 3.238 MB / 0.78 GB, free: 19.37 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00054/0.7994, allocations: 375.2 kB / 0.7804 GB, free: 19.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003778/0.8032, allocations: 498.2 kB / 0.7809 GB, free: 19.35 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03121/0.8344, allocations: 7.958 MB / 0.7886 GB, free: 18.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002501/0.8347, allocations: 21.53 kB / 0.7886 GB, free: 18.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001397/0.8361, allocations: 219.4 kB / 0.7889 GB, free: 18.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/0.8372, allocations: 444.5 kB / 0.7893 GB, free: 18.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01877/0.856, allocations: 6.051 MB / 0.7952 GB, free: 18.42 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05168/0.9077, allocations: 35.21 MB / 0.8296 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.9106, allocations: 2.018 MB / 0.8315 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00236/0.913, allocations: 1.855 MB / 0.8334 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.9132, allocations: 17.41 kB / 0.8334 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.726e-05/0.9132, allocations: 59.88 kB / 0.8334 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=171): time 3.416e-06/0.9133, allocations: 0 / 0.8334 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=276): time 0.1304/1.044, allocations: 38.98 MB / 0.8715 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/1.044, allocations: 77.58 kB / 0.8716 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/1.047, allocations: 2.262 MB / 0.8738 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0005326/1.048, allocations: 73.7 kB / 0.8738 GB, free: 5.223 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.049, allocations: 2.275 MB / 0.8761 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/1.051, allocations: 0.9255 MB / 0.877 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/1.051, allocations: 60 kB / 0.877 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002198/1.051, allocations: 432 kB / 0.8774 GB, free: 1.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/1.054, allocations: 1.962 MB / 0.8794 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003477/1.058, allocations: 2.587 MB / 0.8819 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0036/1.061, allocations: 2.374 MB / 0.8842 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.061, allocations: 8 kB / 0.8842 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01471/1.076, allocations: 7.718 MB / 0.8918 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/1.076, allocations: 12.97 kB / 0.8918 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.076, allocations: 20 kB / 0.8918 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008928/1.085, allocations: 3.209 MB / 0.8949 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/1.087, allocations: 403.9 kB / 0.8953 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04473/1.132, allocations: 31.09 MB / 0.9257 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.135, allocations: 171.8 kB / 0.9258 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004516/1.136, allocations: 104 kB / 0.9259 GB, free: 15.07 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004656/1.14, allocations: 1.797 MB / 0.9277 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008921/1.141, allocations: 324.2 kB / 0.928 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/1.156, allocations: 7.335 MB / 0.9352 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.156, allocations: 31.19 kB / 0.9352 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.129e-05/1.156, allocations: 28 kB / 0.9352 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.774e-05/1.156, allocations: 15.94 kB / 0.9352 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02465/1.18, allocations: 12.9 MB / 0.9478 GB, free: 8.711 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.18, allocations: 4 kB / 0.9478 GB, free: 8.707 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.181, allocations: 230.8 kB / 0.948 GB, free: 8.492 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007867/1.189, allocations: 2.849 MB / 0.9508 GB, free: 5.625 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004419/1.19, allocations: 52 kB / 0.9509 GB, free: 5.574 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03988/1.23, allocations: 29.93 MB / 0.9801 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/1.23, allocations: 8 kB / 0.9801 GB, free: 6.906 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.243, allocations: 6.865 MB / 0.9868 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/1.245, allocations: 0.786 MB / 0.9876 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007555/1.246, allocations: 48 kB / 0.9876 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.247, allocations: 171.8 kB / 0.9878 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008559/1.248, allocations: 253.2 kB / 0.988 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002111/1.249, allocations: 72 kB / 0.9881 GB, free: 14.6 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00233/1.251, allocations: 1.502 MB / 0.9896 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.12e-07/1.251, allocations: 0 / 0.9896 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004967/1.256, allocations: 1.374 MB / 0.9909 GB, free: 11.73 MB / 0.7169 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004673/1.256, allocations: 174.2 kB / 0.9911 GB, free: 11.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01262/1.269, allocations: 6.907 MB / 0.9978 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.269, allocations: 7.656 kB / 0.9978 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007819/1.277, allocations: 4.414 MB / 1.002 GB, free: 176 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.282, allocations: 1.036 MB / 1.003 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/1.301, allocations: 11.93 MB / 1.015 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.306, allocations: 3.645 MB / 1.018 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00235/1.308, allocations: 0.5634 MB / 1.019 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/1.308, allocations: 155.4 kB / 1.019 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of SimCode: time 9.22e-07/1.308, allocations: 0 / 1.019 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of Templates: time 0.4601/1.769, allocations: 71.67 MB / 1.089 GB, free: 257.4 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)