Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00118/0.00118, allocations: 104.5 kB / 16.4 MB, free: 6.461 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.001048/0.001048, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6639/0.6639, allocations: 115.3 MB / 406.5 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 69.47 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1249, allocations: 76.18 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02477/0.1497, allocations: 23.39 MB / 0.6549 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.1602, allocations: 6.484 MB / 0.6613 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.1621, allocations: 99.5 kB / 0.6614 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.1657, allocations: 1.495 MB / 0.6628 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.1695, allocations: 1.824 MB / 0.6646 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.1726, allocations: 1.455 MB / 0.666 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006715/0.1793, allocations: 6.912 MB / 0.6728 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008999/0.1883, allocations: 6.937 MB / 0.6796 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/0.1927, allocations: 2.878 MB / 0.6824 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005015/0.1977, allocations: 3.474 MB / 0.6858 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001333/0.1991, allocations: 0.5273 MB / 0.6863 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.2019, allocations: 1.178 MB / 0.6874 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.003476/0.2054, allocations: 2.46 MB / 0.6898 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.004422/0.2098, allocations: 2.544 MB / 0.6923 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008402/0.2183, allocations: 8.515 MB / 0.7006 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2183, allocations: 3.938 kB / 0.7006 GB, free: 13.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2183, allocations: 0 / 0.7006 GB, free: 13.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001484/0.2184, allocations: 0 / 0.7006 GB, free: 13.93 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.007093/0.2255, allocations: 4.431 MB / 0.705 GB, free: 9.434 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.2256, allocations: 8.031 kB / 0.705 GB, free: 9.426 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007869/0.2335, allocations: 1.677 MB / 0.7066 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004177/0.2377, allocations: 2.696 MB / 0.7092 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001642/0.2378, allocations: 271.7 kB / 0.7095 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000605/0.2384, allocations: 368.3 kB / 0.7098 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01078/0.2492, allocations: 7.483 MB / 0.7172 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.065e-05/0.2493, allocations: 15.88 kB / 0.7172 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004081/0.2498, allocations: 159.9 kB / 0.7173 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005303/0.2503, allocations: 487.3 kB / 0.7178 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008221/0.2585, allocations: 5.705 MB / 0.7234 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/0.2874, allocations: 31.5 MB / 0.7541 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002506/0.29, allocations: 2.086 MB / 0.7562 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2878/0.5777, allocations: 2.185 MB / 0.7583 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002652/0.578, allocations: 15.53 kB / 0.7583 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5781, allocations: 50.36 kB / 0.7583 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=146): time 3.346e-06/0.5781, allocations: 2.25 kB / 0.7584 GB, free: 115.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=251): time 0.2808/0.8589, allocations: 77.03 MB / 0.8336 GB, free: 58.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.859, allocations: 77.41 kB / 0.8336 GB, free: 58.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.8609, allocations: 1.67 MB / 0.8353 GB, free: 56.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003329/0.8612, allocations: 69.7 kB / 0.8353 GB, free: 56.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006065/0.8618, allocations: 1.735 MB / 0.837 GB, free: 54.64 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.8624, allocations: 0.86 MB / 0.8379 GB, free: 53.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008681/0.8633, allocations: 485.2 kB / 0.8383 GB, free: 53.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.668e-05/0.8634, allocations: 305.1 kB / 0.8386 GB, free: 53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.8661, allocations: 2.73 MB / 0.8413 GB, free: 50.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002947/0.8691, allocations: 3.332 MB / 0.8446 GB, free: 46.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005913/0.875, allocations: 6.393 MB / 0.8508 GB, free: 40.06 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.875, allocations: 4 kB / 0.8508 GB, free: 40.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02621/0.9012, allocations: 14.68 MB / 0.8651 GB, free: 25.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/0.9013, allocations: 15.98 kB / 0.8651 GB, free: 25.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.9013, allocations: 20 kB / 0.8652 GB, free: 25.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02559/0.9269, allocations: 9.23 MB / 0.8742 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.9281, allocations: 299.5 kB / 0.8745 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07515/1.003, allocations: 52.35 MB / 0.9256 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/1.006, allocations: 219.7 kB / 0.9258 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/1.007, allocations: 100 kB / 0.9259 GB, free: 10.25 MB / 0.6387 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.002744/1.009, allocations: 1.586 MB / 0.9274 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000691/1.01, allocations: 243.2 kB / 0.9277 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0315/1.042, allocations: 14.75 MB / 0.9421 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/1.042, allocations: 24 kB / 0.9421 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000144/1.042, allocations: 44 kB / 0.9422 GB, free: 9.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/1.042, allocations: 12.7 kB / 0.9422 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0392/1.081, allocations: 20.53 MB / 0.9622 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.844e-05/1.081, allocations: 8 kB / 0.9622 GB, free: 4.848 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007594/1.082, allocations: 159.8 kB / 0.9624 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02726/1.109, allocations: 9.004 MB / 0.9712 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003964/1.11, allocations: 48 kB / 0.9712 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07465/1.184, allocations: 51.91 MB / 1.022 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/1.184, allocations: 7.938 kB / 1.022 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03058/1.215, allocations: 14.37 MB / 1.036 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/1.217, allocations: 0.8454 MB / 1.037 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004543/1.217, allocations: 49.5 kB / 1.037 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/1.219, allocations: 211.7 kB / 1.037 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/1.22, allocations: 237.3 kB / 1.037 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.221, allocations: 67.94 kB / 1.037 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001388/1.222, allocations: 1.129 MB / 1.038 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.51e-07/1.222, allocations: 0 / 1.038 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003995/1.226, allocations: 1.61 MB / 1.04 GB, free: 4.156 MB / 0.7481 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.0003813/1.226, allocations: 167.8 kB / 1.04 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.2889/1.515, allocations: 10.55 MB / 1.05 GB, free: 257.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.515, allocations: 4.375 kB / 1.05 GB, free: 257.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/1.532, allocations: 7.305 MB / 1.058 GB, free: 256.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/1.535, allocations: 0.543 MB / 1.058 GB, free: 256.6 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/1.548, allocations: 8.692 MB / 1.067 GB, free: 252.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002708/1.551, allocations: 3.226 MB / 1.07 GB, free: 251.7 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009461/1.552, allocations: 394 kB / 1.07 GB, free: 251.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/1.552, allocations: 98.56 kB / 1.07 GB, free: 251.7 MB / 0.7481 GB Notification: Performance of SimCode: time 7.51e-07/1.552, allocations: 0 / 1.07 GB, free: 251.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.09704/1.649, allocations: 92.69 MB / 1.161 GB, free: 167.3 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1)