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.001227/0.001227, allocations: 106.8 kB / 16.41 MB, free: 6.492 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.00131/0.00131, allocations: 189.2 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.829/0.829, allocations: 115.3 MB / 406.5 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001212, allocations: 61.31 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1809, allocations: 76.19 MB / 0.6321 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006931/0.1879, allocations: 5.436 MB / 0.6374 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004567/0.1925, allocations: 2.626 MB / 0.64 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005352/0.193, allocations: 23.81 kB / 0.64 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.1953, allocations: 0.683 MB / 0.6406 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.1967, allocations: 421.8 kB / 0.641 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.1978, allocations: 387.1 kB / 0.6414 GB, free: 10.85 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1992, allocations: 0.963 MB / 0.6424 GB, free: 9.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009024/0.2001, allocations: 470.4 kB / 0.6428 GB, free: 9.422 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008986/0.201, allocations: 366.7 kB / 0.6432 GB, free: 9.062 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007063/0.2017, allocations: 410.4 kB / 0.6435 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.151e-05/0.2018, allocations: 48 kB / 0.6436 GB, free: 8.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.2025, allocations: 363.3 kB / 0.6439 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.2028, allocations: 251.3 kB / 0.6442 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.2031, allocations: 346.2 kB / 0.6445 GB, free: 7.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.2041, allocations: 0.9734 MB / 0.6455 GB, free: 6.695 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2041, allocations: 0 / 0.6455 GB, free: 6.695 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.2041, allocations: 3.984 kB / 0.6455 GB, free: 6.691 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2042, allocations: 0 / 0.6455 GB, free: 6.691 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.001519/0.2057, allocations: 0.9659 MB / 0.6464 GB, free: 5.672 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.2057, allocations: 8.031 kB / 0.6464 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.2071, allocations: 207.8 kB / 0.6466 GB, free: 5.461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.2078, allocations: 0.5179 MB / 0.6471 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.2078, allocations: 41.34 kB / 0.6472 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001416/0.208, allocations: 48.56 kB / 0.6472 GB, free: 4.816 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.209, allocations: 0.828 MB / 0.648 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2091, allocations: 7.938 kB / 0.648 GB, free: 3.898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.2092, allocations: 31.92 kB / 0.6481 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001895/0.2093, allocations: 64.94 kB / 0.6481 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008197/0.2102, allocations: 0.5735 MB / 0.6487 GB, free: 3.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.2141, allocations: 4.558 MB / 0.6531 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004486/0.2146, allocations: 307.1 kB / 0.6534 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.2149, allocations: 233.3 kB / 0.6536 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.2149, allocations: 4.281 kB / 0.6536 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.215, allocations: 30.84 kB / 0.6537 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.714e-06/0.215, allocations: 0 / 0.6537 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005648/0.2206, allocations: 2.627 MB / 0.6562 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.2207, allocations: 55.41 kB / 0.6563 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.2212, allocations: 465.9 kB / 0.6567 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.633e-05/0.2213, allocations: 29.7 kB / 0.6568 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.2216, allocations: 339.6 kB / 0.6571 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.2217, allocations: 145.9 kB / 0.6572 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.2219, allocations: 106.2 kB / 0.6573 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2221, allocations: 358.8 kB / 0.6577 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003582/0.2224, allocations: 244.9 kB / 0.6579 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/0.2229, allocations: 406.5 kB / 0.6583 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008525/0.2238, allocations: 0.67 MB / 0.6589 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2238, allocations: 4 kB / 0.6589 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001568/0.2254, allocations: 0.9213 MB / 0.6598 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.2254, allocations: 4 kB / 0.6599 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2254, allocations: 16.02 kB / 0.6599 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/0.2262, allocations: 230.3 kB / 0.6601 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.2267, allocations: 111.8 kB / 0.6602 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005103/0.2318, allocations: 5.339 MB / 0.6654 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.2323, allocations: 31.97 kB / 0.6654 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.2323, allocations: 24.19 kB / 0.6655 GB, free: 0.8906 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.0003047/0.2326, allocations: 221.6 kB / 0.6657 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2327, allocations: 63.28 kB / 0.6657 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001512/0.2343, allocations: 0.7734 MB / 0.6665 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2343, allocations: 8 kB / 0.6665 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.2343, allocations: 4 kB / 0.6665 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2343, allocations: 3.984 kB / 0.6665 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002382/0.2367, allocations: 1.49 MB / 0.668 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.2367, allocations: 4 kB / 0.668 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/0.2371, allocations: 67.89 kB / 0.668 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006803/0.2378, allocations: 214.6 kB / 0.6682 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.339e-05/0.2378, allocations: 8 kB / 0.6682 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/0.2427, allocations: 5.266 MB / 0.6734 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.2428, allocations: 11.95 kB / 0.6734 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.2445, allocations: 1.12 MB / 0.6745 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002745/0.2448, allocations: 168.4 kB / 0.6746 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.2449, allocations: 19.94 kB / 0.6747 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003532/0.2453, allocations: 31.84 kB / 0.6747 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.2454, allocations: 35.95 kB / 0.6747 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.2454, allocations: 16 kB / 0.6747 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004297/0.2459, allocations: 314.9 kB / 0.675 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2459, allocations: 0 / 0.675 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007382/0.2466, allocations: 168 kB / 0.6752 GB, free: 6.297 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.0002002/0.2468, allocations: 119.5 kB / 0.6753 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.2486, allocations: 1.008 MB / 0.6763 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.2486, allocations: 0 / 0.6763 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.2496, allocations: 0.6838 MB / 0.677 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000901/0.2506, allocations: 174.9 kB / 0.6771 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.2528, allocations: 1.248 MB / 0.6784 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005973/0.2534, allocations: 0.9572 MB / 0.6793 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004065/0.2538, allocations: 117 kB / 0.6794 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2539, allocations: 39.44 kB / 0.6794 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.2539, allocations: 0 / 0.6794 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of Templates: time 0.01833/0.2723, allocations: 8.945 MB / 0.6882 GB, free: 8.969 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)