Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 113.8 kB / 16.42 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 240.1 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 192.5 kB / 290.4 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4985/0.4985, allocations: 91.9 MB / 432.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.41 kB / 0.5734 GB, free: 33.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1036, allocations: 71.29 MB / 0.643 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII): time 0.006548/0.1102, allocations: 6.574 MB / 0.6494 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.1136, allocations: 1.958 MB / 0.6514 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.114, allocations: 12 kB / 0.6514 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.1146, allocations: 238 kB / 0.6516 GB, free: 10.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.1163, allocations: 0.8666 MB / 0.6524 GB, free: 9.824 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.1175, allocations: 0.6311 MB / 0.6531 GB, free: 9.199 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.119, allocations: 1.588 MB / 0.6546 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000418/0.1194, allocations: 326.4 kB / 0.6549 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006974/0.1201, allocations: 0.6574 MB / 0.6556 GB, free: 6.617 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.1209, allocations: 0.8167 MB / 0.6564 GB, free: 5.797 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001827/0.1211, allocations: 124 kB / 0.6565 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.1216, allocations: 251.9 kB / 0.6567 GB, free: 5.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.1219, allocations: 334.6 kB / 0.657 GB, free: 5.102 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005222/0.1224, allocations: 0.668 MB / 0.6577 GB, free: 4.43 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001464/0.1239, allocations: 1.666 MB / 0.6593 GB, free: 2.758 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1239, allocations: 4 kB / 0.6593 GB, free: 2.754 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1239, allocations: 0 / 0.6593 GB, free: 2.754 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.1239, allocations: 0 / 0.6593 GB, free: 2.754 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.008619/0.1325, allocations: 2.688 MB / 0.6619 GB, free: 15.99 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.1326, allocations: 8.031 kB / 0.6619 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005234/0.1378, allocations: 0.7747 MB / 0.6627 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.1392, allocations: 0.8825 MB / 0.6636 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002738/0.1395, allocations: 264.1 kB / 0.6638 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.1397, allocations: 87.91 kB / 0.6639 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.1419, allocations: 1.086 MB / 0.665 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.1419, allocations: 0 / 0.665 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.142, allocations: 28 kB / 0.665 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.142, allocations: 20 kB / 0.665 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.1441, allocations: 0.9877 MB / 0.666 GB, free: 11.76 MB / 478.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.006585/0.1507, allocations: 3.824 MB / 0.6697 GB, free: 7.75 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/0.1584, allocations: 2.375 MB / 0.672 GB, free: 5.277 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.1598, allocations: 0.6762 MB / 0.6727 GB, free: 4.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.555e-05/0.1599, allocations: 12.98 kB / 0.6727 GB, free: 4.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.1616, allocations: 0.8215 MB / 0.6735 GB, free: 3.746 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.825e-06/0.1616, allocations: 0 / 0.6735 GB, free: 3.746 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02973/0.1913, allocations: 7.077 MB / 0.6804 GB, free: 12.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.1914, allocations: 115.8 kB / 0.6805 GB, free: 12.47 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.193, allocations: 1.087 MB / 0.6816 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.1931, allocations: 45.7 kB / 0.6816 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/0.1935, allocations: 492.8 kB / 0.6821 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.1939, allocations: 347.1 kB / 0.6824 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005252/0.1944, allocations: 295.4 kB / 0.6827 GB, free: 10.19 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.294e-05/0.1945, allocations: 309.1 kB / 0.683 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.1962, allocations: 0.7613 MB / 0.6837 GB, free: 9.125 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/0.198, allocations: 0.9304 MB / 0.6847 GB, free: 8.156 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02424/0.2222, allocations: 5.579 MB / 0.6901 GB, free: 2.492 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.2223, allocations: 3.938 kB / 0.6901 GB, free: 2.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01425/0.2365, allocations: 4.328 MB / 0.6943 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.699e-05/0.2366, allocations: 60.95 kB / 0.6944 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.2366, allocations: 4 kB / 0.6944 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005695/0.2423, allocations: 1.516 MB / 0.6959 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.2438, allocations: 299.5 kB / 0.6962 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.264, allocations: 8.264 MB / 0.7042 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/0.266, allocations: 198.8 kB / 0.7044 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.2663, allocations: 55.97 kB / 0.7045 GB, free: 3.574 MB / 0.4981 GB 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.0006487/0.2669, allocations: 300.4 kB / 0.7048 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.2672, allocations: 134.3 kB / 0.7049 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.2806, allocations: 3.869 MB / 0.7087 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/0.2807, allocations: 7.969 kB / 0.7087 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2807, allocations: 3.938 kB / 0.7087 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.2811, allocations: 219.3 kB / 0.7089 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.2814, allocations: 20 kB / 0.7089 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.2826, allocations: 107.9 kB / 0.709 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001034/0.2837, allocations: 436.3 kB / 0.7094 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006464/0.2902, allocations: 2.225 MB / 0.7116 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004519/0.2947, allocations: 2.269 MB / 0.7138 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001311/0.296, allocations: 0.5699 MB / 0.7144 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001131/0.2972, allocations: 0.7274 MB / 0.7151 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of Backend: time 7.01e-07/0.2972, allocations: 0 / 0.7151 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005938/0.3031, allocations: 2.067 MB / 0.7171 GB, free: 6.469 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00354/0.3067, allocations: 2.936 MB / 0.72 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of Templates: time 0.03445/0.3412, allocations: 22.59 MB / 0.742 GB, free: 12.88 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRII.pipe 2>&1)