Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 114.9 kB / 18.71 MB, free: 3.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.4 MB, free: 3.344 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 183.9 kB / 302.7 MB, free: 3.438 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.3575/0.3575, allocations: 79.74 MB / 437.6 MB, free: 7.277 MB / 366.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002452/0.002452, allocations: 83.86 kB / 0.5832 GB, free: 8.086 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3015, allocations: 72.07 MB / 0.6536 GB, free: 18.59 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.01017/0.3117, allocations: 13.46 MB / 0.6668 GB, free: 8.695 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006788/0.3185, allocations: 3.643 MB / 0.6703 GB, free: 6.039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001815/0.3203, allocations: 28.41 kB / 0.6704 GB, free: 6.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.3215, allocations: 0.5129 MB / 0.6709 GB, free: 5.738 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003508/0.325, allocations: 1.563 MB / 0.6724 GB, free: 4.664 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.3277, allocations: 1.341 MB / 0.6737 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004075/0.3317, allocations: 4.087 MB / 0.6777 GB, free: 1.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.3326, allocations: 0.6261 MB / 0.6783 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.3346, allocations: 1.598 MB / 0.6799 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.3371, allocations: 1.963 MB / 0.6818 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005175/0.3377, allocations: 364.5 kB / 0.6821 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.3386, allocations: 0.5069 MB / 0.6826 GB, free: 14.17 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007835/0.3394, allocations: 0.8211 MB / 0.6834 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001695/0.3411, allocations: 1.704 MB / 0.6851 GB, free: 12.11 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00491/0.346, allocations: 4.547 MB / 0.6895 GB, free: 8.578 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.346, allocations: 5.234 kB / 0.6895 GB, free: 8.574 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.346, allocations: 0 / 0.6895 GB, free: 8.574 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.3461, allocations: 0 / 0.6895 GB, free: 8.574 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01799/0.364, allocations: 6.456 MB / 0.6958 GB, free: 4.402 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3641, allocations: 8.781 kB / 0.6958 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01056/0.3746, allocations: 1.64 MB / 0.6974 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004127/0.3788, allocations: 2.038 MB / 0.6994 GB, free: 1.305 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005278/0.3793, allocations: 472.5 kB / 0.6999 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003873/0.3797, allocations: 200 kB / 0.7001 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005035/0.3847, allocations: 2.423 MB / 0.7024 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.3848, allocations: 4 kB / 0.7024 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002101/0.385, allocations: 76 kB / 0.7025 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.108e-05/0.385, allocations: 44 kB / 0.7026 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/0.3899, allocations: 2.236 MB / 0.7047 GB, free: 11.77 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01716/0.407, allocations: 9.156 MB / 0.7137 GB, free: 2.277 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/0.4177, allocations: 4.225 MB / 0.7178 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.4207, allocations: 1.41 MB / 0.7192 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.4209, allocations: 33.97 kB / 0.7192 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003729/0.4247, allocations: 1.816 MB / 0.721 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 4.979e-06/0.4247, allocations: 0 / 0.721 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=242): time 0.08258/0.5072, allocations: 18 MB / 0.7386 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/0.5074, allocations: 235.6 kB / 0.7388 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/0.5125, allocations: 2.523 MB / 0.7413 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004215/0.5129, allocations: 69.7 kB / 0.7413 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.514, allocations: 1.139 MB / 0.7424 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.5153, allocations: 0.8947 MB / 0.7433 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.5168, allocations: 0.5855 MB / 0.7439 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5169, allocations: 301.1 kB / 0.7442 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003719/0.5206, allocations: 1.603 MB / 0.7457 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003988/0.5246, allocations: 1.942 MB / 0.7476 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04543/0.5701, allocations: 11.23 MB / 0.7586 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.431e-05/0.5701, allocations: 4 kB / 0.7586 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.02316/0.5932, allocations: 7.466 MB / 0.7659 GB, free: 11.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001375/0.5934, allocations: 174.1 kB / 0.7661 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.5934, allocations: 12 kB / 0.7661 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01117/0.6046, allocations: 2.811 MB / 0.7688 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.608, allocations: 0.6437 MB / 0.7694 GB, free: 8.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03955/0.6475, allocations: 19.19 MB / 0.7882 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/0.6515, allocations: 410 kB / 0.7886 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005553/0.652, allocations: 119.9 kB / 0.7887 GB, free: 3.766 MB / 0.5606 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = \"1\" fixed = true ) \"d-axis transient voltage\" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) \"Connector of Real output signal\" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = \"1\" fixed = true ) \"q-axis transient voltage\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001684/0.6537, allocations: 0.6275 MB / 0.7893 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000893/0.6546, allocations: 317.9 kB / 0.7896 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02479/0.6794, allocations: 7.302 MB / 0.7967 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-05/0.6794, allocations: 15.95 kB / 0.7968 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.657e-06/0.6794, allocations: 7.938 kB / 0.7968 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.6806, allocations: 458.4 kB / 0.7972 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007911/0.6814, allocations: 51.98 kB / 0.7973 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/0.6842, allocations: 211.8 kB / 0.7975 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002274/0.6865, allocations: 0.7469 MB / 0.7982 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01552/0.702, allocations: 5.151 MB / 0.8032 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01087/0.7129, allocations: 5.048 MB / 0.8081 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002984/0.7159, allocations: 1.277 MB / 0.8094 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003555/0.7194, allocations: 1.677 MB / 0.811 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of Backend: time 5.01e-07/0.7194, allocations: 0 / 0.811 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0125/0.7319, allocations: 4.499 MB / 0.8154 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of SimCode: time 0.009709/0.7416, allocations: 6.665 MB / 0.8219 GB, free: 1.211 MB / 0.5919 GB Notification: Performance of Templates: time 0.3265/1.068, allocations: 54.21 MB / 0.8749 GB, free: 146.4 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.238316674018279] Failed to read output from testmodel.py, exit status != 0: 1.0762253579450771 1.085754551 0.737296539 Calling exit ...