Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 102.3 kB / 15.98 MB, free: 6.34 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.001149/0.001149, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.363/1.363, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7997/0.7997, allocations: 122.9 MB / 413.6 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.4906 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 77.92 MB / 0.5667 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007116/0.355, allocations: 6.72 MB / 0.5733 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.3592, allocations: 3.015 MB / 0.5762 GB, free: 26.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.3596, allocations: 25.47 kB / 0.5762 GB, free: 26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.3617, allocations: 0.8965 MB / 0.5771 GB, free: 25.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.3628, allocations: 469 kB / 0.5776 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009644/0.3637, allocations: 388 kB / 0.5779 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.3649, allocations: 1.227 MB / 0.5791 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009662/0.3659, allocations: 0.737 MB / 0.5798 GB, free: 24.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005582/0.3664, allocations: 474.7 kB / 0.5803 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005935/0.367, allocations: 0.5381 MB / 0.5808 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.869e-05/0.3672, allocations: 67.88 kB / 0.5809 GB, free: 23.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000676/0.3678, allocations: 373.3 kB / 0.5812 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002853/0.3681, allocations: 313.5 kB / 0.5815 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.3685, allocations: 449.5 kB / 0.582 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.3695, allocations: 1.235 MB / 0.5832 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3695, allocations: 0 / 0.5832 GB, free: 22.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3695, allocations: 0 / 0.5832 GB, free: 22.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3696, allocations: 2.906 kB / 0.5832 GB, free: 22.34 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001645/0.3712, allocations: 1.16 MB / 0.5843 GB, free: 21.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.3712, allocations: 10.44 kB / 0.5843 GB, free: 21.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001497/0.3727, allocations: 237.5 kB / 0.5845 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006795/0.3734, allocations: 0.5477 MB / 0.5851 GB, free: 20.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.3735, allocations: 51.73 kB / 0.5851 GB, free: 20.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.3736, allocations: 65.84 kB / 0.5852 GB, free: 20.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.3749, allocations: 1.086 MB / 0.5863 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.375, allocations: 6.719 kB / 0.5863 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.3751, allocations: 29.2 kB / 0.5863 GB, free: 20.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/0.3752, allocations: 89.31 kB / 0.5864 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.3763, allocations: 0.7509 MB / 0.5871 GB, free: 19.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.3806, allocations: 5.889 MB / 0.5929 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009906/0.3816, allocations: 0.5545 MB / 0.5934 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004647/0.382, allocations: 333.3 kB / 0.5937 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.3821, allocations: 4.219 kB / 0.5937 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.3821, allocations: 38.97 kB / 0.5938 GB, free: 13.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=47): time 2.645e-06/0.3821, allocations: 0 / 0.5938 GB, free: 13.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=48): time 0.003968/0.3861, allocations: 1.982 MB / 0.5957 GB, free: 12.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.3862, allocations: 57 kB / 0.5957 GB, free: 12.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.3868, allocations: 0.5627 MB / 0.5963 GB, free: 11.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.3869, allocations: 33.7 kB / 0.5963 GB, free: 11.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.387, allocations: 418.9 kB / 0.5967 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.795e-05/0.3871, allocations: 173.6 kB / 0.5969 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.3873, allocations: 130.5 kB / 0.597 GB, free: 11.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.3874, allocations: 378.6 kB / 0.5974 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003207/0.3877, allocations: 273.8 kB / 0.5976 GB, free: 10.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.3881, allocations: 0.4892 MB / 0.5981 GB, free: 9.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007593/0.3889, allocations: 0.8055 MB / 0.5989 GB, free: 9.027 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3889, allocations: 8 kB / 0.5989 GB, free: 9.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001438/0.3904, allocations: 1.079 MB / 0.6 GB, free: 7.918 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3904, allocations: 8 kB / 0.6 GB, free: 7.91 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3904, allocations: 8.062 kB / 0.6 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007622/0.3912, allocations: 279.1 kB / 0.6002 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.3916, allocations: 123.8 kB / 0.6004 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004868/0.3965, allocations: 7.141 MB / 0.6073 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/0.3971, allocations: 35.97 kB / 0.6074 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.3972, allocations: 32 kB / 0.6074 GB, free: 15.72 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (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.0004053/0.3976, allocations: 257.5 kB / 0.6076 GB, free: 15.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.3977, allocations: 71.16 kB / 0.6077 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.3994, allocations: 0.8847 MB / 0.6086 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3994, allocations: 4 kB / 0.6086 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3994, allocations: 7.984 kB / 0.6086 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3994, allocations: 0 / 0.6086 GB, free: 14.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/0.4022, allocations: 1.732 MB / 0.6103 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4022, allocations: 0 / 0.6103 GB, free: 12.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002773/0.4025, allocations: 67.83 kB / 0.6103 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007347/0.4032, allocations: 271.4 kB / 0.6106 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.389e-05/0.4033, allocations: 8 kB / 0.6106 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/0.4099, allocations: 7.126 MB / 0.6176 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.4099, allocations: 4 kB / 0.6176 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/0.4115, allocations: 0.9799 MB / 0.6185 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.4118, allocations: 192.2 kB / 0.6187 GB, free: 3.375 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-05/0.4119, allocations: 19.98 kB / 0.6187 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003724/0.4122, allocations: 31.91 kB / 0.6188 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.4124, allocations: 43.89 kB / 0.6188 GB, free: 3.281 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.4124, allocations: 15.98 kB / 0.6188 GB, free: 3.266 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004127/0.4128, allocations: 383.1 kB / 0.6192 GB, free: 2.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4128, allocations: 0 / 0.6192 GB, free: 2.898 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009171/0.4138, allocations: 224 kB / 0.6194 GB, free: 2.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001649/0.4139, allocations: 117.9 kB / 0.6195 GB, free: 2.555 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.4159, allocations: 1.342 MB / 0.6208 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4159, allocations: 0 / 0.6208 GB, free: 1.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001178/0.4171, allocations: 0.8894 MB / 0.6217 GB, free: 224 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.4181, allocations: 217.5 kB / 0.6219 GB, free: 16 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4203, allocations: 1.639 MB / 0.6235 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.4209, allocations: 1.005 MB / 0.6245 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.4213, allocations: 130 kB / 0.6246 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.4214, allocations: 43.42 kB / 0.6246 GB, free: 13.12 MB / 478.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4214, allocations: 3.938 kB / 0.6247 GB, free: 13.12 MB / 478.1 MB Notification: Performance of Templates: time 0.01817/0.4396, allocations: 11.22 MB / 0.6356 GB, free: 2.055 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1)