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.001498/0.001498, allocations: 104.6 kB / 16.27 MB, free: 6.039 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.001748/0.001747, allocations: 188.4 kB / 17.19 MB, free: 5.668 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7515/0.7515, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 67.89 kB / 0.4911 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.366, allocations: 77.92 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007445/0.3734, allocations: 5.441 MB / 0.5726 GB, free: 28.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004616/0.3781, allocations: 2.62 MB / 0.5751 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007037/0.3789, allocations: 21 kB / 0.5751 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3808, allocations: 0.6846 MB / 0.5758 GB, free: 26.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.3822, allocations: 408.3 kB / 0.5762 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.3834, allocations: 396.1 kB / 0.5766 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.3848, allocations: 0.9492 MB / 0.5775 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.3856, allocations: 476.1 kB / 0.578 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.3863, allocations: 367.9 kB / 0.5783 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006867/0.387, allocations: 401 kB / 0.5787 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.3872, allocations: 47.06 kB / 0.5787 GB, free: 25.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008608/0.388, allocations: 368.2 kB / 0.5791 GB, free: 25.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003031/0.3883, allocations: 247.8 kB / 0.5793 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.3887, allocations: 352.4 kB / 0.5797 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3899, allocations: 0.9545 MB / 0.5806 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.39, allocations: 0.9375 kB / 0.5806 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.39, allocations: 0 / 0.5806 GB, free: 24.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.39, allocations: 0.875 kB / 0.5806 GB, free: 24.55 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.00139/0.3914, allocations: 0.9734 MB / 0.5815 GB, free: 23.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3914, allocations: 8.969 kB / 0.5815 GB, free: 23.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.3928, allocations: 202.5 kB / 0.5817 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006023/0.3934, allocations: 488.4 kB / 0.5822 GB, free: 23.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.3935, allocations: 41.2 kB / 0.5822 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001525/0.3936, allocations: 50.92 kB / 0.5823 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3947, allocations: 0.8232 MB / 0.5831 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.3947, allocations: 10.33 kB / 0.5831 GB, free: 22.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.905e-05/0.3948, allocations: 32.03 kB / 0.5831 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/0.395, allocations: 62.95 kB / 0.5832 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.3958, allocations: 0.5722 MB / 0.5838 GB, free: 22.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003374/0.3992, allocations: 4.583 MB / 0.5882 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/0.3996, allocations: 292.1 kB / 0.5885 GB, free: 17.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/0.3999, allocations: 227.2 kB / 0.5887 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4, allocations: 5.531 kB / 0.5887 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.4, allocations: 37.25 kB / 0.5888 GB, free: 17.73 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 1.684e-06/0.4, allocations: 0.9375 kB / 0.5888 GB, free: 17.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.0052/0.4052, allocations: 2.63 MB / 0.5913 GB, free: 16.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/0.4053, allocations: 60.08 kB / 0.5914 GB, free: 15.97 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004097/0.4057, allocations: 458 kB / 0.5918 GB, free: 15.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.4057, allocations: 38.36 kB / 0.5919 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.4059, allocations: 336.8 kB / 0.5922 GB, free: 15.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.4059, allocations: 144 kB / 0.5923 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.4061, allocations: 101.9 kB / 0.5924 GB, free: 15.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.4062, allocations: 366.2 kB / 0.5928 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.4065, allocations: 242.9 kB / 0.593 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.4069, allocations: 407 kB / 0.5934 GB, free: 14.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/0.4077, allocations: 0.6782 MB / 0.5941 GB, free: 13.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.4077, allocations: 1.531 kB / 0.5941 GB, free: 13.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001561/0.4092, allocations: 0.9204 MB / 0.595 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4093, allocations: 6.406 kB / 0.595 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4093, allocations: 5.5 kB / 0.595 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.41, allocations: 230.9 kB / 0.5952 GB, free: 13.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.4105, allocations: 119.4 kB / 0.5953 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003661/0.4142, allocations: 5.341 MB / 0.6005 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.4147, allocations: 31.97 kB / 0.6005 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.291e-05/0.4147, allocations: 20.19 kB / 0.6006 GB, free: 7.371 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.000249/0.415, allocations: 225.7 kB / 0.6008 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-05/0.4151, allocations: 63.28 kB / 0.6008 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.4164, allocations: 0.7697 MB / 0.6016 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4164, allocations: 4 kB / 0.6016 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4164, allocations: 4 kB / 0.6016 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4164, allocations: 3.984 kB / 0.6016 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.4183, allocations: 1.495 MB / 0.6031 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.4183, allocations: 4 kB / 0.6031 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.4187, allocations: 63.89 kB / 0.6031 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005933/0.4193, allocations: 214.4 kB / 0.6033 GB, free: 4.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.4193, allocations: 8 kB / 0.6033 GB, free: 4.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003773/0.4231, allocations: 5.285 MB / 0.6085 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4231, allocations: 3.938 kB / 0.6085 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001783/0.4249, allocations: 1.137 MB / 0.6096 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.4252, allocations: 168.4 kB / 0.6098 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.371e-05/0.4252, allocations: 11.94 kB / 0.6098 GB, free: 13.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4256, allocations: 27.97 kB / 0.6098 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.972e-05/0.4257, allocations: 35.89 kB / 0.6098 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.4257, allocations: 16 kB / 0.6099 GB, free: 13.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003248/0.426, allocations: 310.9 kB / 0.6102 GB, free: 12.93 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4261, allocations: 4 kB / 0.6102 GB, free: 12.93 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006963/0.4268, allocations: 168 kB / 0.6103 GB, free: 12.76 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.0001528/0.4269, allocations: 111.1 kB / 0.6104 GB, free: 12.64 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.4287, allocations: 1.059 MB / 0.6115 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.4287, allocations: 3.938 kB / 0.6115 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.4297, allocations: 0.6799 MB / 0.6121 GB, free: 10.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000904/0.4306, allocations: 185 kB / 0.6123 GB, free: 10.65 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.4325, allocations: 1.271 MB / 0.6135 GB, free: 9.336 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.433, allocations: 0.9494 MB / 0.6145 GB, free: 8.355 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003696/0.4334, allocations: 117 kB / 0.6146 GB, free: 8.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4335, allocations: 39.44 kB / 0.6146 GB, free: 8.199 MB / 462.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4335, allocations: 0 / 0.6146 GB, free: 8.199 MB / 462.1 MB Notification: Performance of Templates: time 0.01601/0.4496, allocations: 8.834 MB / 0.6233 GB, free: 15.49 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)