Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 121.5 kB / 17.09 MB, free: 6.012 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.00179/0.00179, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.469/1.469, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7581/0.7581, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 61.78 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.188, allocations: 76.19 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.008697/0.1967, allocations: 5.43 MB / 0.638 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005097/0.2018, allocations: 2.63 MB / 0.6406 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007005/0.2026, allocations: 23.81 kB / 0.6406 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.2048, allocations: 0.6768 MB / 0.6413 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001441/0.2063, allocations: 405.8 kB / 0.6417 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.2076, allocations: 393.1 kB / 0.6421 GB, free: 10.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.2093, allocations: 0.9552 MB / 0.643 GB, free: 9.871 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008874/0.2102, allocations: 474.4 kB / 0.6434 GB, free: 9.406 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.211, allocations: 370.7 kB / 0.6438 GB, free: 9.043 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009315/0.2119, allocations: 406.4 kB / 0.6442 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.2121, allocations: 48 kB / 0.6442 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2133, allocations: 363.3 kB / 0.6446 GB, free: 8.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004699/0.2138, allocations: 243.3 kB / 0.6448 GB, free: 8.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.2146, allocations: 346.2 kB / 0.6451 GB, free: 7.664 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.2166, allocations: 0.9773 MB / 0.6461 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2166, allocations: 0 / 0.6461 GB, free: 6.684 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.2166, allocations: 3.938 kB / 0.6461 GB, free: 6.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.761e-05/0.2167, allocations: 8 kB / 0.6461 GB, free: 6.672 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002703/0.2194, allocations: 0.9659 MB / 0.6471 GB, free: 5.652 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2195, allocations: 8.031 kB / 0.6471 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.2211, allocations: 203.8 kB / 0.6473 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.2221, allocations: 0.514 MB / 0.6478 GB, free: 4.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.043e-05/0.2222, allocations: 37.38 kB / 0.6478 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001898/0.2224, allocations: 68.52 kB / 0.6479 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.2237, allocations: 0.8202 MB / 0.6487 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.638e-05/0.2238, allocations: 7.922 kB / 0.6487 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.149e-05/0.2239, allocations: 31.94 kB / 0.6487 GB, free: 3.848 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002084/0.2241, allocations: 60.95 kB / 0.6488 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.2251, allocations: 0.5735 MB / 0.6493 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005154/0.2303, allocations: 4.569 MB / 0.6538 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005136/0.2308, allocations: 295.2 kB / 0.6541 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.2311, allocations: 229.3 kB / 0.6543 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.2312, allocations: 4.281 kB / 0.6543 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.2312, allocations: 34.84 kB / 0.6543 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.866e-06/0.2312, allocations: 0 / 0.6543 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005876/0.2371, allocations: 2.627 MB / 0.6569 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.2372, allocations: 55.41 kB / 0.6569 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005841/0.2378, allocations: 457.9 kB / 0.6574 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.358e-05/0.2378, allocations: 33.7 kB / 0.6574 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.2381, allocations: 343.6 kB / 0.6577 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2382, allocations: 141.9 kB / 0.6579 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.2384, allocations: 106.2 kB / 0.658 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.2386, allocations: 358.8 kB / 0.6583 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000365/0.239, allocations: 248.9 kB / 0.6585 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.2394, allocations: 407.1 kB / 0.6589 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008835/0.2403, allocations: 0.674 MB / 0.6596 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.2403, allocations: 0 / 0.6596 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001762/0.2421, allocations: 0.9212 MB / 0.6605 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2421, allocations: 9.719 kB / 0.6605 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.2422, allocations: 4 kB / 0.6605 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008139/0.243, allocations: 230.5 kB / 0.6607 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/0.2435, allocations: 111.8 kB / 0.6608 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005534/0.2491, allocations: 5.339 MB / 0.666 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00058/0.2497, allocations: 27.97 kB / 0.6661 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.801e-05/0.2498, allocations: 24 kB / 0.6661 GB, free: 0.8867 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0003948/0.2502, allocations: 229.7 kB / 0.6663 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001558/0.2503, allocations: 63.41 kB / 0.6664 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2519, allocations: 0.7734 MB / 0.6671 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.252, allocations: 4 kB / 0.6671 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.252, allocations: 8 kB / 0.6671 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.252, allocations: 3.984 kB / 0.6671 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.2546, allocations: 1.49 MB / 0.6686 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.2546, allocations: 4.219 kB / 0.6686 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003926/0.255, allocations: 71.89 kB / 0.6687 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006874/0.2557, allocations: 214.4 kB / 0.6689 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.2557, allocations: 8 kB / 0.6689 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00523/0.261, allocations: 5.274 MB / 0.674 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.261, allocations: 3.938 kB / 0.674 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.2629, allocations: 1.124 MB / 0.6751 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.2632, allocations: 164.5 kB / 0.6753 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.2633, allocations: 19.94 kB / 0.6753 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003763/0.2637, allocations: 27.91 kB / 0.6753 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2638, allocations: 35.89 kB / 0.6754 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.2638, allocations: 12 kB / 0.6754 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004147/0.2642, allocations: 314.9 kB / 0.6757 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2642, allocations: 4 kB / 0.6757 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007884/0.265, allocations: 164 kB / 0.6758 GB, free: 6.289 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002113/0.2653, allocations: 119.5 kB / 0.676 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.2671, allocations: 1.012 MB / 0.6769 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.2671, allocations: 0 / 0.6769 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.2682, allocations: 0.6838 MB / 0.6776 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.2693, allocations: 181.5 kB / 0.6778 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.2716, allocations: 1.299 MB / 0.6791 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.2722, allocations: 0.9572 MB / 0.68 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.2723, allocations: 39.44 kB / 0.68 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.2723, allocations: 0 / 0.68 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.0205/0.2928, allocations: 14.82 MB / 0.6945 GB, free: 3.066 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)