Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001274, allocations: 105.1 kB / 16.4 MB, free: 6.449 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.001392/0.001392, allocations: 196 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.281/1.281, 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.6786/0.6786, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.77 kB / 0.5577 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1365, allocations: 76.19 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01315/0.1497, allocations: 10.89 MB / 0.6427 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01291/0.1627, allocations: 8.799 MB / 0.6513 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001479/0.1642, allocations: 59.62 kB / 0.6514 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004442/0.1686, allocations: 1.671 MB / 0.653 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.1731, allocations: 1.535 MB / 0.6545 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.1748, allocations: 0.6696 MB / 0.6551 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.1776, allocations: 2.286 MB / 0.6574 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001758/0.1793, allocations: 1.368 MB / 0.6587 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001413/0.1808, allocations: 1.016 MB / 0.6597 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.1821, allocations: 1.012 MB / 0.6607 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001968/0.1823, allocations: 144 kB / 0.6608 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.1837, allocations: 0.8033 MB / 0.6616 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.1842, allocations: 0.5686 MB / 0.6622 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.185, allocations: 0.8823 MB / 0.663 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002498/0.1875, allocations: 2.574 MB / 0.6655 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1875, allocations: 0 / 0.6655 GB, free: 2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.004e-06/0.1875, allocations: 0 / 0.6655 GB, free: 2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.1875, allocations: 0 / 0.6655 GB, free: 2 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.002969/0.1905, allocations: 2.014 MB / 0.6675 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1906, allocations: 12.03 kB / 0.6675 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.2013, allocations: 2.054 MB / 0.6695 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002224/0.2036, allocations: 1.212 MB / 0.6707 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.2037, allocations: 90.62 kB / 0.6708 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.2039, allocations: 120.1 kB / 0.6709 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005102/0.209, allocations: 2.471 MB / 0.6733 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.81e-05/0.209, allocations: 15.83 kB / 0.6733 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.2092, allocations: 55.98 kB / 0.6734 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003318/0.2095, allocations: 126.1 kB / 0.6735 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006635/0.2162, allocations: 2.545 MB / 0.676 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01162/0.2278, allocations: 10.02 MB / 0.6858 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00598/0.2338, allocations: 1.956 MB / 0.6877 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002619/0.2364, allocations: 0.9699 MB / 0.6886 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-05/0.2365, allocations: 4.438 kB / 0.6887 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.2365, allocations: 39 kB / 0.6887 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.2365, allocations: 0 / 0.6887 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=81): time 0.02951/0.266, allocations: 8.726 MB / 0.6972 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.2661, allocations: 64.05 kB / 0.6973 GB, free: 460 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.2675, allocations: 1.101 MB / 0.6983 GB, free: 15.33 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.2677, allocations: 41.7 kB / 0.6984 GB, free: 15.28 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.2682, allocations: 0.738 MB / 0.6991 GB, free: 14.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/0.2685, allocations: 279.9 kB / 0.6994 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.2688, allocations: 202.4 kB / 0.6996 GB, free: 14.06 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.269, allocations: 345.9 kB / 0.6999 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/0.2718, allocations: 1.067 MB / 0.7009 GB, free: 12.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002933/0.2748, allocations: 1.309 MB / 0.7022 GB, free: 11.24 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005645/0.2804, allocations: 2.382 MB / 0.7045 GB, free: 8.762 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.2804, allocations: 0 / 0.7045 GB, free: 8.762 MB / 0.545 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008124/0.2886, allocations: 3.273 MB / 0.7077 GB, free: 5.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.2886, allocations: 8 kB / 0.7077 GB, free: 5.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.2886, allocations: 8 kB / 0.7078 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/0.2911, allocations: 0.8029 MB / 0.7085 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.2929, allocations: 415.2 kB / 0.7089 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01447/0.3074, allocations: 15.91 MB / 0.7245 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.3095, allocations: 291.5 kB / 0.7248 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.3096, allocations: 56.03 kB / 0.7248 GB, free: 2.824 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007027/0.3103, allocations: 393.5 kB / 0.7252 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.3105, allocations: 142.3 kB / 0.7253 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008193/0.3187, allocations: 3.202 MB / 0.7284 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.3188, allocations: 11.94 kB / 0.7285 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.3188, allocations: 11.94 kB / 0.7285 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3188, allocations: 7.984 kB / 0.7285 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.3289, allocations: 4.901 MB / 0.7333 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3289, allocations: 7.938 kB / 0.7333 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.3304, allocations: 351.4 kB / 0.7336 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002092/0.3325, allocations: 0.7017 MB / 0.7343 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.3326, allocations: 31.95 kB / 0.7343 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.3465, allocations: 15.53 MB / 0.7495 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3466, allocations: 64 / 0.7495 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007566/0.3541, allocations: 3.051 MB / 0.7525 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/0.3548, allocations: 383.2 kB / 0.7528 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.3551, allocations: 15.94 kB / 0.7528 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.3569, allocations: 303.4 kB / 0.7531 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.3572, allocations: 72.5 kB / 0.7532 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.3573, allocations: 39.97 kB / 0.7532 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001033/0.3583, allocations: 0.7366 MB / 0.754 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3583, allocations: 4 kB / 0.754 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00144/0.3598, allocations: 432 kB / 0.7544 GB, free: 3.109 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.36, allocations: 127.1 kB / 0.7545 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2688/0.6288, allocations: 3.617 MB / 0.758 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6289, allocations: 2.969 kB / 0.758 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0048/0.6337, allocations: 2.365 MB / 0.7603 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/0.6359, allocations: 0.5189 MB / 0.7609 GB, free: 115.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/0.6433, allocations: 3.438 MB / 0.7642 GB, free: 114.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.6444, allocations: 1.388 MB / 0.7656 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001304/0.6457, allocations: 382.3 kB / 0.7659 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000375/0.6461, allocations: 105.9 kB / 0.766 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.6461, allocations: 3.438 kB / 0.766 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.03782/0.6839, allocations: 30.47 MB / 0.7958 GB, free: 98.1 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)