Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.001375/0.001375, allocations: 75.5 kB / 19.97 MB, free: 1.754 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.001582/0.001582, allocations: 166.2 kB / 23.25 MB, free: 4.895 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.472/1.472, allocations: 177.1 MB / 203.6 MB, free: 9.168 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.04181/0.04181, allocations: 4.481 MB / 264.4 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.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 390.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.172e-05/3.329e-05, allocations: 2.281 kB / 390.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.002975/0.003009, allocations: 1.489 MB / 391.6 MB, free: 11.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.0057, allocations: 1.551 MB / 393.1 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.005858, allocations: 4 kB / 393.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004655/0.006323, allocations: 135.1 kB / 393.3 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004632/0.006786, allocations: 119.2 kB / 393.4 MB, free: 9.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.008611, allocations: 0.8439 MB / 394.2 MB, free: 8.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004781/0.009089, allocations: 274.6 kB / 394.5 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.009269, allocations: 56.58 kB / 394.6 MB, free: 8.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.009496, allocations: 151.6 kB / 394.7 MB, free: 8.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002205/0.009717, allocations: 103.7 kB / 394.8 MB, free: 7.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.527e-05/0.009772, allocations: 20 kB / 394.8 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.01023, allocations: 215.6 kB / 395 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.01029, allocations: 51.81 kB / 395.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.0104, allocations: 87.77 kB / 395.2 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.01108, allocations: 446.6 kB / 395.6 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01108, allocations: 4 kB / 395.6 MB, free: 7.105 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.01109, allocations: 3.938 kB / 395.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.0111, allocations: 0 / 395.6 MB, free: 7.102 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002887/0.01398, allocations: 0.7704 MB / 396.4 MB, free: 6.293 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.01402, allocations: 15.97 kB / 396.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.0141, allocations: 28.8 kB / 396.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.01446, allocations: 214.7 kB / 396.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.01449, allocations: 16.88 kB / 396.7 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/0.01454, allocations: 20.38 kB / 396.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.01515, allocations: 399.4 kB / 397.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.01517, allocations: 192 / 397.1 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.0152, allocations: 12.31 kB / 397.1 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.01521, allocations: 4.375 kB / 397.1 MB, free: 5.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005078/0.01571, allocations: 289.8 kB / 397.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.01731, allocations: 0.7404 MB / 398.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.01832, allocations: 365.7 kB / 398.5 MB, free: 4.121 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.01862, allocations: 152.8 kB / 398.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.01867, allocations: 7.984 kB / 398.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.01871, allocations: 38.56 kB / 398.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.01871, allocations: 0 / 398.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=29): time 0.00323/0.02194, allocations: 0.8691 MB / 399.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.02199, allocations: 63.28 kB / 399.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.02228, allocations: 223.8 kB / 399.8 MB, free: 2.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.158e-05/0.02234, allocations: 33.7 kB / 399.9 MB, free: 2.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.02244, allocations: 132.8 kB / 400 MB, free: 2.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.02259, allocations: 107.1 kB / 400.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.02274, allocations: 81.58 kB / 400.2 MB, free: 2.367 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.02291, allocations: 326.8 kB / 400.5 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003176/0.02322, allocations: 179.9 kB / 400.7 MB, free: 1.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.02354, allocations: 183.9 kB / 400.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006526/0.02419, allocations: 397.2 kB / 401.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.02419, allocations: 0 / 401.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001594/0.02578, allocations: 0.6541 MB / 401.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.0258, allocations: 8 kB / 401.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02581, allocations: 0 / 401.9 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.02703, allocations: 244.6 kB / 402.1 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002386/0.02727, allocations: 51.91 kB / 402.2 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004416/0.03168, allocations: 2.536 MB / 404.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.03199, allocations: 35.83 kB / 404.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.03203, allocations: 16.03 kB / 404.8 MB, free: 13.65 MB / 334.1 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 (32): * Single equations (assignments): 31 * 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 {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001897/0.03222, allocations: 146.4 kB / 404.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-05/0.03229, allocations: 27.8 kB / 404.9 MB, free: 13.47 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.03391, allocations: 0.5829 MB / 405.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.03391, allocations: 4 kB / 405.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.03391, allocations: 0 / 405.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.03392, allocations: 0 / 405.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.03595, allocations: 0.9291 MB / 406.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.03595, allocations: 4 kB / 406.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.03609, allocations: 31.98 kB / 406.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001134/0.03723, allocations: 244.5 kB / 406.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.03725, allocations: 4 kB / 406.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004046/0.0413, allocations: 2.5 MB / 409.2 MB, free: 9.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.0413, allocations: 11.92 kB / 409.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.0428, allocations: 0.6452 MB / 409.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.04285, allocations: 23.8 kB / 409.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.0429, allocations: 4 kB / 409.9 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.04315, allocations: 11.98 kB / 409.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.338e-05/0.04323, allocations: 31.89 kB / 410 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.04326, allocations: 8 kB / 410 MB, free: 8.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001991/0.04346, allocations: 163 kB / 410.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04346, allocations: 0 / 410.1 MB, free: 8.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005502/0.04401, allocations: 112 kB / 410.2 MB, free: 7.992 MB / 334.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 (20): * Single equations (assignments): 19 * 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 {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000232/0.04424, allocations: 119.1 kB / 410.3 MB, free: 7.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.04568, allocations: 0.5885 MB / 410.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.04569, allocations: 0 / 410.9 MB, free: 7.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009316/0.04662, allocations: 386.9 kB / 411.3 MB, free: 6.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.04699, allocations: 27.98 kB / 411.3 MB, free: 6.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.0481, allocations: 0.4996 MB / 411.8 MB, free: 6.324 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.04826, allocations: 150.5 kB / 412 MB, free: 6.156 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.04837, allocations: 34.02 kB / 412 MB, free: 6.125 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.04844, allocations: 24.48 kB / 412 MB, free: 6.098 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.04844, allocations: 0 / 412 MB, free: 6.098 MB / 334.1 MB Notification: Performance of Templates: time 0.01187/0.06031, allocations: 5.769 MB / 417.8 MB, free: 396 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.461110420525074] Failed to read output from testmodel.py, exit status != 0: 0.07018980756402016 0.08557089000000001 0.07118134000000001 Calling exit ...