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.001276/0.001276, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 174.7 kB / 16.56 MB, free: 6.391 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.428/1.428, allocations: 223.2 MB / 240.5 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6531/0.6531, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.000348, allocations: 12 kB / 493.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 77.16 MB / 0.5569 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.3887/0.564, allocations: 28.79 MB / 0.585 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02642/0.5904, allocations: 13.82 MB / 0.5985 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.5949, allocations: 125.2 kB / 0.5986 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00326/0.5982, allocations: 0.7065 MB / 0.5993 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01126/0.6094, allocations: 2.273 MB / 0.6015 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007369/0.6168, allocations: 1.413 MB / 0.6029 GB, free: 12.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01285/0.6297, allocations: 4.578 MB / 0.6073 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02069/0.6504, allocations: 9.844 MB / 0.617 GB, free: 6.773 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007914/0.6584, allocations: 2.632 MB / 0.6195 GB, free: 5.246 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006837/0.6653, allocations: 2.412 MB / 0.6219 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002509/0.6678, allocations: 294.8 kB / 0.6222 GB, free: 3.805 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006003/0.6738, allocations: 0.7032 MB / 0.6228 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0054/0.6793, allocations: 2.109 MB / 0.6249 GB, free: 2.398 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004805/0.6841, allocations: 1.128 MB / 0.626 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.698, allocations: 9.038 MB / 0.6348 GB, free: 10.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.698, allocations: 0 / 0.6348 GB, free: 10.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 6.112e-06/0.698, allocations: 0 / 0.6348 GB, free: 10.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004367/0.6985, allocations: 3.938 kB / 0.6348 GB, free: 10.5 MB / 462.1 MB 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.01468/0.7132, allocations: 4.86 MB / 0.6396 GB, free: 5.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.7132, allocations: 16.02 kB / 0.6396 GB, free: 5.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008196/0.7214, allocations: 1.117 MB / 0.6407 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01163/0.7331, allocations: 3.236 MB / 0.6439 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005432/0.7337, allocations: 374 kB / 0.6442 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002957/0.7367, allocations: 495.9 kB / 0.6447 GB, free: 272 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.763, allocations: 7.919 MB / 0.6524 GB, free: 8.062 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003787/0.7634, allocations: 19.78 kB / 0.6524 GB, free: 8.043 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002031/0.7655, allocations: 220 kB / 0.6526 GB, free: 7.828 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001313/0.7668, allocations: 437.6 kB / 0.6531 GB, free: 7.398 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/0.7826, allocations: 6.053 MB / 0.659 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06061/0.8433, allocations: 35.21 MB / 0.6934 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.8472, allocations: 2.019 MB / 0.6953 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.8475, allocations: 18 kB / 0.6953 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/0.8475, allocations: 64.55 kB / 0.6954 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=171): time 3.587e-06/0.8476, allocations: 0 / 0.6954 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=276): time 0.1584/1.006, allocations: 38.98 MB / 0.7335 GB, free: 1.766 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.006, allocations: 85.56 kB / 0.7336 GB, free: 1.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004319/1.01, allocations: 2.262 MB / 0.7358 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003746/1.011, allocations: 73.7 kB / 0.7358 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001685/1.012, allocations: 2.272 MB / 0.7381 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001033/1.014, allocations: 0.9318 MB / 0.739 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003117/1.014, allocations: 60 kB / 0.739 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002335/1.014, allocations: 428.1 kB / 0.7394 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002881/1.017, allocations: 1.958 MB / 0.7413 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003326/1.02, allocations: 2.579 MB / 0.7439 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003286/1.024, allocations: 2.376 MB / 0.7462 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/1.024, allocations: 11.94 kB / 0.7462 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0149/1.039, allocations: 7.704 MB / 0.7537 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.204e-05/1.039, allocations: 12 kB / 0.7537 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.039, allocations: 20 kB / 0.7537 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01007/1.049, allocations: 3.215 MB / 0.7569 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/1.051, allocations: 395.4 kB / 0.7573 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04408/1.095, allocations: 32.36 MB / 0.7889 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/1.099, allocations: 159.8 kB / 0.789 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000398/1.099, allocations: 108 kB / 0.7891 GB, free: 7.543 MB / 0.6075 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.00464/1.104, allocations: 1.797 MB / 0.7909 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009232/1.105, allocations: 332.1 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01381/1.119, allocations: 7.334 MB / 0.7984 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.811e-05/1.119, allocations: 28 kB / 0.7984 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/1.119, allocations: 28 kB / 0.7984 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/1.119, allocations: 15.91 kB / 0.7984 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.144, allocations: 12.91 MB / 0.811 GB, free: 0.8438 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.825e-05/1.145, allocations: 4 kB / 0.811 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009773/1.145, allocations: 231.6 kB / 0.8113 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008513/1.154, allocations: 2.842 MB / 0.814 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003552/1.154, allocations: 52 kB / 0.8141 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4101/1.565, allocations: 31.18 MB / 0.8445 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.565, allocations: 12 kB / 0.8445 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01385/1.578, allocations: 7.416 MB / 0.8518 GB, free: 198.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002315/1.581, allocations: 0.7883 MB / 0.8526 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007224/1.582, allocations: 48.97 kB / 0.8526 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001909/1.583, allocations: 171.6 kB / 0.8528 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008821/1.584, allocations: 253.1 kB / 0.853 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.585, allocations: 75.88 kB / 0.8531 GB, free: 198.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002416/1.587, allocations: 1.499 MB / 0.8545 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.61e-07/1.587, allocations: 1.438 kB / 0.8545 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.006914/1.594, allocations: 1.368 MB / 0.8559 GB, free: 197.6 MB / 0.6387 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.0005529/1.594, allocations: 175.1 kB / 0.856 GB, free: 197.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.607, allocations: 6.921 MB / 0.8628 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/1.607, allocations: 3 kB / 0.8628 GB, free: 194.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007983/1.615, allocations: 4.409 MB / 0.8671 GB, free: 192.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/1.62, allocations: 0.9872 MB / 0.8681 GB, free: 192 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.637, allocations: 11.95 MB / 0.8798 GB, free: 185.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003802/1.641, allocations: 3.746 MB / 0.8834 GB, free: 184.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00213/1.643, allocations: 0.5539 MB / 0.884 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/1.643, allocations: 157.6 kB / 0.8841 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of SimCode: time 8.01e-07/1.643, allocations: 0 / 0.8841 GB, free: 184.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.1098/1.753, allocations: 71.6 MB / 0.954 GB, free: 114.5 MB / 0.6387 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)