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.001298/0.001298, allocations: 100.2 kB / 16.64 MB, free: 6.824 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.001195/0.001196, allocations: 189.9 kB / 17.57 MB, free: 5.934 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.35/1.35, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8002/0.8002, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 63.89 kB / 0.4943 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3109, allocations: 78.56 MB / 0.571 GB, free: 31.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.00587/0.3168, allocations: 5.475 MB / 0.5764 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003474/0.3203, allocations: 2.61 MB / 0.5789 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002966/0.3206, allocations: 22.22 kB / 0.5789 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.3222, allocations: 0.6249 MB / 0.5795 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007982/0.323, allocations: 388.1 kB / 0.5799 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00082/0.3238, allocations: 355.9 kB / 0.5802 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008118/0.3246, allocations: 0.9534 MB / 0.5812 GB, free: 24.8 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000638/0.3253, allocations: 0.5193 MB / 0.5817 GB, free: 24.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.3257, allocations: 372.8 kB / 0.582 GB, free: 24.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003928/0.3261, allocations: 423 kB / 0.5824 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.098e-05/0.3261, allocations: 49.31 kB / 0.5825 GB, free: 24.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.3267, allocations: 361.5 kB / 0.5828 GB, free: 23.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001784/0.3269, allocations: 246.6 kB / 0.5831 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.3271, allocations: 343.2 kB / 0.5834 GB, free: 23.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005631/0.3277, allocations: 0.749 MB / 0.5841 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3277, allocations: 0.7812 kB / 0.5841 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3277, allocations: 3.938 kB / 0.5841 GB, free: 23.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3277, allocations: 1.312 kB / 0.5841 GB, free: 23.02 MB / 446.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.001319/0.3291, allocations: 0.9764 MB / 0.5851 GB, free: 22.23 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.3291, allocations: 8.812 kB / 0.5851 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.3304, allocations: 194 kB / 0.5853 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.331, allocations: 491.8 kB / 0.5858 GB, free: 21.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.331, allocations: 37.3 kB / 0.5858 GB, free: 21.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/0.3312, allocations: 51.44 kB / 0.5858 GB, free: 21.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009603/0.3321, allocations: 0.8291 MB / 0.5866 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/0.3322, allocations: 6.219 kB / 0.5867 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.515e-05/0.3322, allocations: 28.52 kB / 0.5867 GB, free: 21.09 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001816/0.3324, allocations: 62.55 kB / 0.5867 GB, free: 21.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007583/0.3332, allocations: 0.5761 MB / 0.5873 GB, free: 20.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003136/0.3363, allocations: 4.579 MB / 0.5918 GB, free: 16.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004057/0.3368, allocations: 296.1 kB / 0.5921 GB, free: 16.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/0.337, allocations: 226.9 kB / 0.5923 GB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3371, allocations: 8.906 kB / 0.5923 GB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3371, allocations: 36.97 kB / 0.5923 GB, free: 16.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.3371, allocations: 1.25 kB / 0.5923 GB, free: 16.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.005021/0.3421, allocations: 2.631 MB / 0.5949 GB, free: 14.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.312e-05/0.3422, allocations: 55.19 kB / 0.5949 GB, free: 14.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.3426, allocations: 459 kB / 0.5954 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.3426, allocations: 29.7 kB / 0.5954 GB, free: 14.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3427, allocations: 339.7 kB / 0.5957 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.22e-05/0.3428, allocations: 149.9 kB / 0.5959 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.343, allocations: 102.2 kB / 0.596 GB, free: 13.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.343, allocations: 358.8 kB / 0.5963 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.3433, allocations: 244.9 kB / 0.5965 GB, free: 12.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.3436, allocations: 406.5 kB / 0.5969 GB, free: 12.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.3442, allocations: 0.6779 MB / 0.5976 GB, free: 11.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3442, allocations: 0 / 0.5976 GB, free: 11.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001317/0.3456, allocations: 0.9215 MB / 0.5985 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.3456, allocations: 8 kB / 0.5985 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3456, allocations: 4 kB / 0.5985 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.3463, allocations: 226.4 kB / 0.5987 GB, free: 10.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.3468, allocations: 115.8 kB / 0.5988 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.3503, allocations: 5.341 MB / 0.604 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004794/0.3508, allocations: 35.97 kB / 0.6041 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.3509, allocations: 24 kB / 0.6041 GB, free: 4.582 MB / 446.1 MB 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.0002523/0.3511, allocations: 225.7 kB / 0.6043 GB, free: 4.352 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.3512, allocations: 63.22 kB / 0.6044 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.3524, allocations: 0.7811 MB / 0.6051 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3524, allocations: 4 kB / 0.6051 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3524, allocations: 0 / 0.6051 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3525, allocations: 0 / 0.6051 GB, free: 3.488 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.3543, allocations: 1.499 MB / 0.6066 GB, free: 1.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3544, allocations: 4.219 kB / 0.6066 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.3547, allocations: 67.88 kB / 0.6067 GB, free: 1.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/0.3553, allocations: 210.4 kB / 0.6069 GB, free: 1.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.3554, allocations: 12 kB / 0.6069 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004681/0.36, allocations: 5.269 MB / 0.612 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.3601, allocations: 7.969 kB / 0.612 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.3619, allocations: 1.134 MB / 0.6132 GB, free: 10.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3622, allocations: 172.4 kB / 0.6133 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.3623, allocations: 15.92 kB / 0.6133 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003278/0.3626, allocations: 23.97 kB / 0.6134 GB, free: 10.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/0.3627, allocations: 39.89 kB / 0.6134 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.3628, allocations: 8 kB / 0.6134 GB, free: 10.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003512/0.3631, allocations: 310.9 kB / 0.6137 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3631, allocations: 0 / 0.6137 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006819/0.3638, allocations: 172.1 kB / 0.6139 GB, free: 9.977 MB / 462.1 MB 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.0001551/0.364, allocations: 115.1 kB / 0.614 GB, free: 9.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.3657, allocations: 1.067 MB / 0.615 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3657, allocations: 0 / 0.615 GB, free: 8.746 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.3667, allocations: 0.6799 MB / 0.6157 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008761/0.3676, allocations: 184.1 kB / 0.6159 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3698, allocations: 1.563 MB / 0.6174 GB, free: 6.246 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.3704, allocations: 0.9494 MB / 0.6183 GB, free: 5.266 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.3706, allocations: 43.42 kB / 0.6183 GB, free: 5.223 MB / 462.1 MB Notification: Performance of SimCode: time 3e-07/0.3706, allocations: 0 / 0.6183 GB, free: 5.223 MB / 462.1 MB Notification: Performance of Templates: time 0.01828/0.3889, allocations: 14.75 MB / 0.6328 GB, free: 6.523 MB / 478.1 MB 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)