Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001061/0.001061, allocations: 100.8 kB / 15.06 MB, free: 1.094 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.001323/0.001324, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005506, allocations: 18.22 kB / 0.6736 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3042, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006369/0.3106, allocations: 4.634 MB / 0.7916 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3152, allocations: 2.477 MB / 0.7941 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007744/0.316, allocations: 19.81 kB / 0.7941 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.3165, allocations: 91.36 kB / 0.7942 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.3182, allocations: 327 kB / 0.7945 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3193, allocations: 290 kB / 0.7948 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009428/0.3202, allocations: 0.5786 MB / 0.7953 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001241/0.3215, allocations: 0.7436 MB / 0.7961 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.322, allocations: 286.9 kB / 0.7963 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005027/0.3225, allocations: 298.9 kB / 0.7966 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.613e-05/0.3225, allocations: 24 kB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005228/0.3231, allocations: 147.8 kB / 0.7968 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002376/0.3233, allocations: 207.4 kB / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.3235, allocations: 145.3 kB / 0.7971 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007491/0.3242, allocations: 0.6859 MB / 0.7978 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3242, allocations: 4 kB / 0.7978 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.915e-06/0.3243, allocations: 4 kB / 0.7978 GB, free: 1 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.3243, allocations: 0 / 0.7978 GB, free: 1 MB / 0.6075 GB 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.001496/0.3258, allocations: 0.8451 MB / 0.7986 GB, free: 108 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3258, allocations: 8.031 kB / 0.7986 GB, free: 100 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.327, allocations: 191 kB / 0.7988 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007355/0.3277, allocations: 465.5 kB / 0.7992 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.3278, allocations: 36.98 kB / 0.7993 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.328, allocations: 55.94 kB / 0.7993 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001061/0.329, allocations: 0.8129 MB / 0.8001 GB, free: 14.42 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.3291, allocations: 7.938 kB / 0.8001 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.3291, allocations: 35.88 kB / 0.8002 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001794/0.3293, allocations: 60.95 kB / 0.8002 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008085/0.3301, allocations: 0.5697 MB / 0.8008 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004448/0.3346, allocations: 4.589 MB / 0.8053 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.3351, allocations: 295.2 kB / 0.8055 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.3351, allocations: 8.219 kB / 0.8056 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3352, allocations: 38.83 kB / 0.8056 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 2.595e-06/0.3352, allocations: 0 / 0.8056 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.005353/0.3405, allocations: 2.616 MB / 0.8081 GB, free: 5.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.3406, allocations: 63.36 kB / 0.8082 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000503/0.3411, allocations: 454 kB / 0.8086 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.3412, allocations: 33.7 kB / 0.8087 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.3414, allocations: 347.6 kB / 0.809 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3415, allocations: 134 kB / 0.8091 GB, free: 4.676 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.3416, allocations: 16 kB / 0.8091 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.3417, allocations: 358.8 kB / 0.8095 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003368/0.3421, allocations: 237 kB / 0.8097 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.3426, allocations: 406.4 kB / 0.8101 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004204/0.343, allocations: 289.5 kB / 0.8104 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.343, allocations: 4 kB / 0.8104 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001587/0.3446, allocations: 0.9211 MB / 0.8113 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.3446, allocations: 4 kB / 0.8113 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3447, allocations: 8 kB / 0.8113 GB, free: 2.367 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.3454, allocations: 227 kB / 0.8115 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.3459, allocations: 111.8 kB / 0.8116 GB, free: 2.027 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/0.351, allocations: 5.025 MB / 0.8165 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.3516, allocations: 31.97 kB / 0.8166 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.3516, allocations: 23.98 kB / 0.8166 GB, free: 12.54 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003847/0.352, allocations: 225.7 kB / 0.8168 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/0.3521, allocations: 55.34 kB / 0.8168 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.3536, allocations: 0.774 MB / 0.8176 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3536, allocations: 4 kB / 0.8176 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3536, allocations: 4 kB / 0.8176 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3536, allocations: 3.984 kB / 0.8176 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/0.356, allocations: 1.49 MB / 0.8191 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.356, allocations: 4.219 kB / 0.8191 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.3564, allocations: 67.89 kB / 0.8191 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007021/0.3571, allocations: 198.4 kB / 0.8193 GB, free: 9.598 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3571, allocations: 19.98 kB / 0.8193 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004729/0.3618, allocations: 4.95 MB / 0.8242 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3619, allocations: 3.938 kB / 0.8242 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.3639, allocations: 1.209 MB / 0.8254 GB, free: 2.926 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003366/0.3642, allocations: 176.4 kB / 0.8255 GB, free: 2.734 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.116e-05/0.3643, allocations: 11.98 kB / 0.8255 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003167/0.3646, allocations: 23.97 kB / 0.8256 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.3648, allocations: 47.78 kB / 0.8256 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.3648, allocations: 8 kB / 0.8256 GB, free: 2.645 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003794/0.3652, allocations: 310.8 kB / 0.8259 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3652, allocations: 0 / 0.8259 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008006/0.366, allocations: 172.1 kB / 0.8261 GB, free: 2.176 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002046/0.3662, allocations: 119.1 kB / 0.8262 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.3678, allocations: 0.9933 MB / 0.8272 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.3678, allocations: 4 kB / 0.8272 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009858/0.3688, allocations: 0.6721 MB / 0.8278 GB, free: 312 kB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007981/0.3697, allocations: 160.5 kB / 0.828 GB, free: 152 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3723, allocations: 1.492 MB / 0.8294 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007516/0.373, allocations: 0.9572 MB / 0.8304 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004155/0.3734, allocations: 121 kB / 0.8305 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.3736, allocations: 39.44 kB / 0.8305 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.3736, allocations: 3.938 kB / 0.8305 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of Templates: time 0.01526/0.3888, allocations: 8.129 MB / 0.8385 GB, free: 5.438 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: