Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.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.00141/0.00141, allocations: 108.3 kB / 18.71 MB, free: 3.137 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.411/1.411, allocations: 225.6 MB / 247.4 MB, free: 3.352 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.001549/0.001549, allocations: 193.7 kB / 302.7 MB, free: 3.395 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.3486/0.3486, allocations: 79.74 MB / 437.6 MB, free: 7.281 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.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 83.88 kB / 0.5833 GB, free: 8.074 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2943, allocations: 72.08 MB / 0.6537 GB, free: 18.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.005602/0.2999, allocations: 6.606 MB / 0.6601 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.303, allocations: 1.984 MB / 0.662 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004579/0.3035, allocations: 9.281 kB / 0.662 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006146/0.3041, allocations: 238.5 kB / 0.6623 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.3058, allocations: 0.8544 MB / 0.6631 GB, free: 11.67 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 order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.307, allocations: 0.6353 MB / 0.6637 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.3087, allocations: 1.588 MB / 0.6653 GB, free: 10.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.3091, allocations: 227 kB / 0.6655 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007785/0.3099, allocations: 0.6572 MB / 0.6661 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008901/0.3108, allocations: 0.8413 MB / 0.667 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.311, allocations: 121.6 kB / 0.6671 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005008/0.3115, allocations: 254.3 kB / 0.6673 GB, free: 9.672 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.3117, allocations: 331.5 kB / 0.6676 GB, free: 9.457 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005072/0.3122, allocations: 0.6716 MB / 0.6683 GB, free: 9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.3137, allocations: 1.667 MB / 0.6699 GB, free: 7.922 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3137, allocations: 0 / 0.6699 GB, free: 7.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3137, allocations: 0 / 0.6699 GB, free: 7.922 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.342e-05/0.3138, allocations: 1.094 kB / 0.6699 GB, free: 7.922 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008197/0.322, allocations: 2.872 MB / 0.6727 GB, free: 6.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.322, allocations: 9.312 kB / 0.6727 GB, free: 6.066 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.3271, allocations: 0.7809 MB / 0.6735 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.3284, allocations: 0.8949 MB / 0.6744 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.3286, allocations: 260.1 kB / 0.6746 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.3287, allocations: 86.23 kB / 0.6747 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.3307, allocations: 1.087 MB / 0.6758 GB, free: 4.109 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3308, allocations: 4 kB / 0.6758 GB, free: 4.105 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-05/0.3308, allocations: 34.45 kB / 0.6758 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.3309, allocations: 18.06 kB / 0.6758 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/0.3328, allocations: 0.9867 MB / 0.6768 GB, free: 3.609 MB / 462.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.005587/0.3384, allocations: 3.806 MB / 0.6805 GB, free: 0.5859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007139/0.3455, allocations: 2.3 MB / 0.6827 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.3469, allocations: 0.6164 MB / 0.6833 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/0.347, allocations: 18.89 kB / 0.6834 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001675/0.3487, allocations: 0.8285 MB / 0.6842 GB, free: 14.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.056e-06/0.3487, allocations: 0 / 0.6842 GB, free: 14.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02913/0.3778, allocations: 7.061 MB / 0.6911 GB, free: 9.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.3779, allocations: 111.8 kB / 0.6912 GB, free: 9.531 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.3797, allocations: 1.091 MB / 0.6922 GB, free: 8.426 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.3799, allocations: 41.7 kB / 0.6923 GB, free: 8.379 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004301/0.3803, allocations: 0.4936 MB / 0.6928 GB, free: 7.879 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.3807, allocations: 368.9 kB / 0.6931 GB, free: 7.516 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005374/0.3813, allocations: 291.5 kB / 0.6934 GB, free: 7.227 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3814, allocations: 305.1 kB / 0.6937 GB, free: 6.926 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00175/0.3831, allocations: 0.7652 MB / 0.6944 GB, free: 6.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/0.385, allocations: 0.9304 MB / 0.6953 GB, free: 5.188 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02381/0.4088, allocations: 5.587 MB / 0.7008 GB, free: 15.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.4088, allocations: 0 / 0.7008 GB, free: 15.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01387/0.4227, allocations: 4.325 MB / 0.705 GB, free: 11.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.4228, allocations: 63.39 kB / 0.7051 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.4228, allocations: 4 kB / 0.7051 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005706/0.4285, allocations: 1.512 MB / 0.7066 GB, free: 9.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.4299, allocations: 291.6 kB / 0.7068 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02059/0.4505, allocations: 8.275 MB / 0.7149 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/0.4524, allocations: 203 kB / 0.7151 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.4526, allocations: 59.97 kB / 0.7152 GB, free: 0.5938 MB / 494.1 MB Warning: Assuming fixed start value for the following 4 variables: order4.w:VARIABLE(flow=false start = 1.0 fixed = true ) \"Rotor speed [pu]\" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.delta:VARIABLE(flow=false start = order4.delta0 unit = \"rad\" fixed = true ) \"Rotor angle\" type: Real order4.e1q:VARIABLE(start = order4.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: 13 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 2 * 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 {(18,13,25.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006428/0.4532, allocations: 303.8 kB / 0.7155 GB, free: 292 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.4534, allocations: 139.1 kB / 0.7156 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01327/0.4667, allocations: 3.838 MB / 0.7193 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.4667, allocations: 11.95 kB / 0.7193 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4667, allocations: 0 / 0.7193 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.4672, allocations: 228 kB / 0.7196 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.4674, allocations: 16 kB / 0.7196 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4685, allocations: 111.9 kB / 0.7197 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001082/0.4695, allocations: 436.3 kB / 0.7201 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006462/0.476, allocations: 2.24 MB / 0.7223 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004727/0.4807, allocations: 2.274 MB / 0.7245 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/0.4821, allocations: 0.5505 MB / 0.725 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001273/0.4833, allocations: 0.7196 MB / 0.7258 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of Backend: time 4.71e-07/0.4833, allocations: 4 kB / 0.7258 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006009/0.4894, allocations: 1.938 MB / 0.7276 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004088/0.4934, allocations: 2.979 MB / 0.7306 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of Templates: time 0.03833/0.5318, allocations: 23.52 MB / 0.7535 GB, free: 9.07 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile [Timeout 660] (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.737897841958329] Failed to read output from testmodel.py, exit status != 0: 0.5400973859941587 0.553832667 0.237061559 Calling exit ...