Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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.0007814/0.0007814, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 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.0008013/0.0008013, allocations: 170.3 kB / 24.01 MB, free: 0.5586 MB / 18.57 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 0.8647/0.8647, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.02129/0.02129, allocations: 4.47 MB / 265.2 MB, free: 8.77 MB / 250.7 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.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 0 / 390.8 MB, free: 6.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.778e-05/1.896e-05, allocations: 2.281 kB / 390.9 MB, free: 6.895 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad): time 0.001663/0.001682, allocations: 1.446 MB / 392.3 MB, free: 5.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.003076, allocations: 1.544 MB / 393.8 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.738e-05/0.003143, allocations: 4 kB / 393.8 MB, free: 3.887 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.003416, allocations: 131.2 kB / 394 MB, free: 3.758 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002603/0.003676, allocations: 151 kB / 394.1 MB, free: 3.609 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.004599, allocations: 0.9409 MB / 395.1 MB, free: 2.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.004839, allocations: 250.6 kB / 395.3 MB, free: 2.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.004955, allocations: 56.42 kB / 395.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.005057, allocations: 143.7 kB / 395.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.005185, allocations: 95.7 kB / 395.6 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.005211, allocations: 20 kB / 395.6 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.005476, allocations: 235.5 kB / 395.8 MB, free: 1.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.09e-05/0.005507, allocations: 47.78 kB / 395.9 MB, free: 1.836 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.162e-05/0.005569, allocations: 79.77 kB / 396 MB, free: 1.758 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.005971, allocations: 442.7 kB / 396.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005973, allocations: 0 / 396.4 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005974, allocations: 4 kB / 396.4 MB, free: 1.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.00598, allocations: 0 / 396.4 MB, free: 1.32 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001833/0.007813, allocations: 0.934 MB / 397.3 MB, free: 356 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.007845, allocations: 8.031 kB / 397.3 MB, free: 348 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.007899, allocations: 28.8 kB / 397.4 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.008115, allocations: 201.6 kB / 397.6 MB, free: 92 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.008129, allocations: 16.64 kB / 397.6 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.008157, allocations: 24.38 kB / 397.6 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.008535, allocations: 461.8 kB / 398.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.008544, allocations: 192 / 398.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.008565, allocations: 4.375 kB / 398.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.008571, allocations: 4.375 kB / 398.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.008821, allocations: 268.1 kB / 398.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.009713, allocations: 0.7182 MB / 399.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003924/0.0101, allocations: 285.6 kB / 399.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01025, allocations: 140.8 kB / 399.5 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.269e-05/0.01029, allocations: 11.98 kB / 399.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.01031, allocations: 34.56 kB / 399.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.092e-06/0.01031, allocations: 0 / 399.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001942/0.01225, allocations: 0.9951 MB / 400.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.0123, allocations: 106.8 kB / 400.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.01246, allocations: 206.8 kB / 400.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.01249, allocations: 33.7 kB / 400.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.383e-05/0.01256, allocations: 140.8 kB / 401 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.01261, allocations: 83.23 kB / 401.1 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.322e-05/0.01269, allocations: 73.67 kB / 401.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.074e-05/0.01277, allocations: 334.8 kB / 401.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.01294, allocations: 172.3 kB / 401.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002121/0.01316, allocations: 265.8 kB / 401.9 MB, free: 11.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.01354, allocations: 398.7 kB / 402.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.01354, allocations: 0 / 402.3 MB, free: 11.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00107/0.01461, allocations: 0.7398 MB / 403 MB, free: 10.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.01463, allocations: 10.91 kB / 403 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01463, allocations: 0 / 403 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/0.01563, allocations: 420.4 kB / 403.4 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.01576, allocations: 59.91 kB / 403.5 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.01829, allocations: 2.546 MB / 406 MB, free: 7.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.01842, allocations: 39.77 kB / 406.1 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01844, allocations: 12 kB / 406.1 MB, free: 7.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.01854, allocations: 145.7 kB / 406.2 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.45e-05/0.01857, allocations: 27.8 kB / 406.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.01962, allocations: 0.6911 MB / 407 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.01963, allocations: 8 kB / 407 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.01963, allocations: 0 / 407 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01963, allocations: 0 / 407 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.01983, allocations: 269.1 kB / 407.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01984, allocations: 0 / 407.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.01991, allocations: 35.98 kB / 407.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/0.02083, allocations: 420.2 kB / 407.7 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.02085, allocations: 8 kB / 407.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.02308, allocations: 2.515 MB / 410.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.02308, allocations: 0 / 410.2 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009896/0.02407, allocations: 0.7339 MB / 410.9 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.418e-05/0.0241, allocations: 27.78 kB / 411 MB, free: 2.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.02412, allocations: 4 kB / 411 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.02424, allocations: 26.48 kB / 411 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.02429, allocations: 23.95 kB / 411 MB, free: 2.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.0243, allocations: 12 kB / 411 MB, free: 2.156 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.02439, allocations: 154.8 kB / 411.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 3e-08/0.02439, allocations: 0 / 411.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.02467, allocations: 103.9 kB / 411.3 MB, free: 1.902 MB / 330.7 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 (22): * Single equations (assignments): 21 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.02483, allocations: 123.2 kB / 411.4 MB, free: 1.773 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.02564, allocations: 0.5921 MB / 412 MB, free: 1.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.02564, allocations: 4 kB / 412 MB, free: 1.164 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.02612, allocations: 390.9 kB / 412.4 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.02635, allocations: 31.92 kB / 412.4 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006021/0.02696, allocations: 0.5098 MB / 412.9 MB, free: 196 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.362e-05/0.02705, allocations: 142.7 kB / 413.1 MB, free: 32 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.0271, allocations: 28.48 kB / 413.1 MB, free: 4 kB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.0271, allocations: 0 / 413.1 MB, free: 4 kB / 330.7 MB Notification: Performance of Templates: time 0.1253/0.1524, allocations: 5.117 MB / 418.2 MB, free: 33.67 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2714405581355095] Failed to read output from testmodel.py, exit status != 0: 0.15735028591006994 0.164348921 0.15693621600000002 Calling exit ...