Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001067/0.001068, allocations: 111.2 kB / 16.41 MB, free: 6.48 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.001059/0.001059, allocations: 193.8 kB / 17.34 MB, free: 5.762 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7012/0.7012, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 67.8 kB / 0.5577 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1267, allocations: 76.18 MB / 0.6321 GB, free: 4.523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0331/0.1599, allocations: 33.31 MB / 0.6646 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02342/0.1833, allocations: 14.81 MB / 0.6791 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.1872, allocations: 159.2 kB / 0.6792 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.009456/0.1967, allocations: 3.671 MB / 0.6828 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008884/0.2056, allocations: 2.874 MB / 0.6856 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006446/0.2121, allocations: 2.323 MB / 0.6879 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01221/0.2243, allocations: 8.82 MB / 0.6965 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01225/0.2366, allocations: 9.582 MB / 0.7059 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006979/0.2436, allocations: 4.012 MB / 0.7098 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006814/0.2504, allocations: 4.038 MB / 0.7137 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001689/0.2522, allocations: 0.7149 MB / 0.7144 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003927/0.2561, allocations: 1.72 MB / 0.7161 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002888/0.259, allocations: 2.826 MB / 0.7189 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003993/0.263, allocations: 3.392 MB / 0.7222 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/0.2745, allocations: 11.19 MB / 0.7331 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.2745, allocations: 0 / 0.7331 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2745, allocations: 3.938 kB / 0.7331 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0003072/0.2748, allocations: 0 / 0.7331 GB, free: 12.66 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.0128/0.2877, allocations: 5.979 MB / 0.739 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.2877, allocations: 16.03 kB / 0.739 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/0.2941, allocations: 1.134 MB / 0.7401 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006461/0.3006, allocations: 3.52 MB / 0.7435 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.3009, allocations: 374.4 kB / 0.7439 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001261/0.3022, allocations: 0.4922 MB / 0.7444 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3225/0.6247, allocations: 7.996 MB / 0.7522 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/0.6249, allocations: 22.62 kB / 0.7522 GB, free: 95.57 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005553/0.6255, allocations: 216.4 kB / 0.7524 GB, free: 95.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001051/0.6265, allocations: 440.6 kB / 0.7528 GB, free: 95.38 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.6369, allocations: 6.079 MB / 0.7587 GB, free: 93.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02622/0.6632, allocations: 34.89 MB / 0.7928 GB, free: 62.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.6652, allocations: 2.034 MB / 0.7948 GB, free: 61.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.6669, allocations: 1.868 MB / 0.7966 GB, free: 60.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.402e-05/0.667, allocations: 21.75 kB / 0.7966 GB, free: 60.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.6671, allocations: 56.38 kB / 0.7967 GB, free: 60.56 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=171): time 3.557e-06/0.6671, allocations: 0 / 0.7967 GB, free: 60.56 MB / 0.5762 GB Notification: Performance of matching and sorting (n=276): time 0.1295/0.7966, allocations: 38.89 MB / 0.8347 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.7966, allocations: 85.52 kB / 0.8348 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.799, allocations: 2.278 MB / 0.837 GB, free: 19.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002206/0.7992, allocations: 77.7 kB / 0.8371 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008294/0.8001, allocations: 2.276 MB / 0.8393 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/0.8006, allocations: 0.9306 MB / 0.8402 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007236/0.8013, allocations: 0.5061 MB / 0.8407 GB, free: 16.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.8014, allocations: 309 kB / 0.841 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/0.8035, allocations: 1.975 MB / 0.8429 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00237/0.8059, allocations: 2.602 MB / 0.8454 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004641/0.8105, allocations: 4.933 MB / 0.8503 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.8106, allocations: 11.94 kB / 0.8503 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0119/0.8225, allocations: 7.751 MB / 0.8578 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.8225, allocations: 12 kB / 0.8579 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.8225, allocations: 16.84 kB / 0.8579 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008559/0.8311, allocations: 3.216 MB / 0.861 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/0.8327, allocations: 403.2 kB / 0.8614 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04148/0.8742, allocations: 33.87 MB / 0.8945 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.8772, allocations: 163.8 kB / 0.8946 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/0.8774, allocations: 108 kB / 0.8947 GB, free: 7.238 MB / 0.6231 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 (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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002692/0.8801, allocations: 1.801 MB / 0.8965 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004956/0.8806, allocations: 332.1 kB / 0.8968 GB, free: 5.098 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01263/0.8932, allocations: 7.353 MB / 0.904 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/0.8933, allocations: 28 kB / 0.904 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.884e-05/0.8933, allocations: 28 kB / 0.904 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.8933, allocations: 18.66 kB / 0.9041 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01933/0.9127, allocations: 12.93 MB / 0.9167 GB, free: 0.5312 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.9127, allocations: 8 kB / 0.9167 GB, free: 0.5234 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008506/0.9136, allocations: 235.6 kB / 0.9169 GB, free: 300 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007382/0.9209, allocations: 2.845 MB / 0.9197 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002657/0.9212, allocations: 56 kB / 0.9197 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0413/0.9625, allocations: 32.68 MB / 0.9517 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.398e-06/0.9626, allocations: 11.94 kB / 0.9517 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/0.9747, allocations: 6.871 MB / 0.9584 GB, free: 4.766 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001688/0.9764, allocations: 0.786 MB / 0.9591 GB, free: 3.957 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007958/0.9772, allocations: 55.94 kB / 0.9592 GB, free: 3.902 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/0.9793, allocations: 171.8 kB / 0.9594 GB, free: 3.734 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008081/0.9801, allocations: 253.5 kB / 0.9596 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001875/0.9803, allocations: 72 kB / 0.9597 GB, free: 3.414 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002045/0.9824, allocations: 1.525 MB / 0.9612 GB, free: 1.887 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9824, allocations: 4 kB / 0.9612 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004173/0.9866, allocations: 1.367 MB / 0.9625 GB, free: 0.5156 MB / 0.6856 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 (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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003241/0.9869, allocations: 178.9 kB / 0.9627 GB, free: 340 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01047/0.9974, allocations: 6.929 MB / 0.9694 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.9974, allocations: 0 / 0.9694 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006852/1.004, allocations: 4.415 MB / 0.9738 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/1.009, allocations: 1.121 MB / 0.9748 GB, free: 3.758 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.025, allocations: 10.09 MB / 0.9847 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003935/1.029, allocations: 3.639 MB / 0.9883 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001863/1.031, allocations: 0.5595 MB / 0.9888 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/1.031, allocations: 163.4 kB / 0.989 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/1.031, allocations: 0 / 0.989 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.3897/1.421, allocations: 76.08 MB / 1.063 GB, free: 236.4 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)