Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 71.64 kB / 19.97 MB, free: 1.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 167.3 kB / 23.26 MB, free: 4.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 177.1 MB / 203.6 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0361/0.0361, allocations: 4.482 MB / 264.5 MB, free: 12.21 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.OneperfectTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneperfectTransfo") translateModel(PowerSysPro.Tests.OneperfectTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneperfectTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 390.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.336e-05/2.477e-05, allocations: 5.234 kB / 390.1 MB, free: 12.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OneperfectTransfo): time 0.002285/0.00231, allocations: 1.225 MB / 391.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.004502, allocations: 1.395 MB / 392.7 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.049e-05/0.004572, allocations: 4 kB / 392.7 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003472/0.004919, allocations: 111.2 kB / 392.8 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.005179, allocations: 87.41 kB / 392.9 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.006763, allocations: 0.7972 MB / 393.7 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002364/0.006999, allocations: 143.3 kB / 393.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.007127, allocations: 42.14 kB / 393.9 MB, free: 8.852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.007239, allocations: 83.8 kB / 394 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.007334, allocations: 47.89 kB / 394 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/0.007366, allocations: 15.98 kB / 394 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003566/0.007722, allocations: 207.6 kB / 394.2 MB, free: 8.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.007772, allocations: 35.84 kB / 394.3 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.848e-05/0.007841, allocations: 43.92 kB / 394.3 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004849/0.008326, allocations: 354.8 kB / 394.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.008328, allocations: 0 / 394.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008329, allocations: 0 / 394.7 MB, free: 8.078 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.008333, allocations: 0 / 394.7 MB, free: 8.078 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001962/0.0103, allocations: 0.5937 MB / 395.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.01033, allocations: 8.031 kB / 395.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.01039, allocations: 16.84 kB / 395.3 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.0106, allocations: 156.2 kB / 395.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.01062, allocations: 16.38 kB / 395.4 MB, free: 7.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.01065, allocations: 12.38 kB / 395.5 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.01102, allocations: 231.3 kB / 395.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.01102, allocations: 192 / 395.7 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.01105, allocations: 8.375 kB / 395.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.01105, allocations: 4.375 kB / 395.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002332/0.01129, allocations: 119.9 kB / 395.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.01219, allocations: 447.9 kB / 396.2 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009104/0.0131, allocations: 154.5 kB / 396.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.01319, allocations: 40.86 kB / 396.4 MB, free: 6.176 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.694e-05/0.01329, allocations: 7.984 kB / 396.4 MB, free: 6.168 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.01333, allocations: 38.69 kB / 396.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.01333, allocations: 0 / 396.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.001286/0.01461, allocations: 270.2 kB / 396.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.01467, allocations: 77.11 kB / 396.8 MB, free: 5.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.0148, allocations: 141.7 kB / 397 MB, free: 5.605 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.01483, allocations: 29.7 kB / 397 MB, free: 5.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.977e-05/0.01492, allocations: 132.2 kB / 397.1 MB, free: 5.438 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.01495, allocations: 31.75 kB / 397.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.01502, allocations: 33.7 kB / 397.2 MB, free: 5.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.01516, allocations: 322.8 kB / 397.5 MB, free: 5.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.01527, allocations: 47.98 kB / 397.5 MB, free: 4.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.01541, allocations: 100.2 kB / 397.6 MB, free: 4.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002439/0.01565, allocations: 125.7 kB / 397.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01565, allocations: 0 / 397.8 MB, free: 4.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000627/0.01628, allocations: 234.3 kB / 398 MB, free: 4.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01629, allocations: 4 kB / 398 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.0163, allocations: 0 / 398 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005633/0.01686, allocations: 84.77 kB / 398.1 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.017, allocations: 23.98 kB / 398.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.01883, allocations: 1.42 MB / 399.5 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.01896, allocations: 24.08 kB / 399.5 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.01898, allocations: 4 kB / 399.6 MB, free: 2.855 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.0191, allocations: 125.8 kB / 399.7 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.01915, allocations: 7.953 kB / 399.7 MB, free: 2.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006207/0.01977, allocations: 203.2 kB / 399.9 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.01977, allocations: 3.938 kB / 399.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01978, allocations: 0 / 399.9 MB, free: 2.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.01978, allocations: 11.98 kB / 399.9 MB, free: 2.492 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.01999, allocations: 157.2 kB / 400.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01999, allocations: 384 / 400.1 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.02008, allocations: 15.94 kB / 400.1 MB, free: 2.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004677/0.02055, allocations: 84.77 kB / 400.1 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.02056, allocations: 4 kB / 400.2 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.02224, allocations: 1.416 MB / 401.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.02224, allocations: 0 / 401.6 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005976/0.02284, allocations: 284.1 kB / 401.8 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.725e-05/0.02286, allocations: 11.89 kB / 401.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.02288, allocations: 4 kB / 401.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001355/0.02302, allocations: 7.984 kB / 401.9 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.02306, allocations: 15.92 kB / 401.9 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.02307, allocations: 0 / 401.9 MB, free: 352 kB / 318.1 MB Notification: Performance of sorting global known variables: time 7.347e-05/0.02314, allocations: 110.1 kB / 402 MB, free: 244 kB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02314, allocations: 0 / 402 MB, free: 244 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.02347, allocations: 47.89 kB / 402 MB, free: 196 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.02366, allocations: 119.2 kB / 402.2 MB, free: 68 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008244/0.02449, allocations: 254.1 kB / 402.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.02449, allocations: 4 kB / 402.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005739/0.02507, allocations: 194.7 kB / 402.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.02531, allocations: 11.94 kB / 402.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.02592, allocations: 282 kB / 402.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.02602, allocations: 101.9 kB / 403 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.272e-05/0.02607, allocations: 20.7 kB / 403 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.02611, allocations: 12.5 kB / 403 MB, free: 15.13 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.02611, allocations: 4 kB / 403 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Templates: time 0.006/0.03211, allocations: 2.061 MB / 405.1 MB, free: 13.09 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & ./PowerSysPro_PowerSysPro.Tests.OneperfectTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.515374343842268] Failed to read output from testmodel.py, exit status != 0: 0.04081415757536888 0.055920627 0.044594514 Calling exit ...