Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09265/0.09265, allocations: 12.6 MB / 28.91 MB, free: 0.6289 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111.5 kB / 32.51 MB, free: 3.57 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 241.1 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 191.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4273/0.4273, allocations: 78.51 MB / 420 MB, free: 11.28 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 134.9 kB / 0.5565 GB, free: 28.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1029, allocations: 68.13 MB / 0.6231 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.006761/0.1097, allocations: 6.616 MB / 0.6295 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003668/0.1134, allocations: 1.936 MB / 0.6314 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.1141, allocations: 12 kB / 0.6314 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000735/0.1148, allocations: 234 kB / 0.6317 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002199/0.117, allocations: 0.8548 MB / 0.6325 GB, free: 5.719 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001363/0.1184, allocations: 0.6308 MB / 0.6331 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.1202, allocations: 1.588 MB / 0.6347 GB, free: 3.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004909/0.1207, allocations: 326.4 kB / 0.635 GB, free: 3.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008989/0.1216, allocations: 0.6535 MB / 0.6356 GB, free: 2.512 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.1227, allocations: 0.8245 MB / 0.6364 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.123, allocations: 123.9 kB / 0.6365 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.1236, allocations: 259.9 kB / 0.6368 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003471/0.1239, allocations: 326.6 kB / 0.6371 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.1246, allocations: 0.6758 MB / 0.6378 GB, free: 316 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.1263, allocations: 1.662 MB / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1263, allocations: 0 / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1263, allocations: 0 / 0.6394 GB, free: 14.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.1264, allocations: 0 / 0.6394 GB, free: 14.64 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.009301/0.1357, allocations: 2.688 MB / 0.642 GB, free: 11.89 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.1357, allocations: 15.98 kB / 0.642 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00536/0.1411, allocations: 0.7748 MB / 0.6428 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.1427, allocations: 0.8902 MB / 0.6436 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002868/0.143, allocations: 256.2 kB / 0.6439 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001967/0.1432, allocations: 80 kB / 0.644 GB, free: 9.781 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.1455, allocations: 1.086 MB / 0.645 GB, free: 8.684 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1455, allocations: 4 kB / 0.645 GB, free: 8.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.1456, allocations: 28 kB / 0.6451 GB, free: 8.652 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1457, allocations: 24 kB / 0.6451 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.1478, allocations: 0.9916 MB / 0.6461 GB, free: 7.637 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.006766/0.1546, allocations: 3.804 MB / 0.6498 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.1624, allocations: 2.373 MB / 0.6521 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.1639, allocations: 0.6762 MB / 0.6527 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.673e-05/0.164, allocations: 9 kB / 0.6528 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/0.1657, allocations: 0.8138 MB / 0.6535 GB, free: 15.67 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 6.842e-06/0.1658, allocations: 0 / 0.6535 GB, free: 15.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02974/0.1955, allocations: 7.081 MB / 0.6605 GB, free: 8.523 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1956, allocations: 115.8 kB / 0.6606 GB, free: 8.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.1973, allocations: 1.087 MB / 0.6616 GB, free: 7.285 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.1974, allocations: 45.7 kB / 0.6617 GB, free: 7.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.1978, allocations: 0.4891 MB / 0.6622 GB, free: 6.738 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.1982, allocations: 355 kB / 0.6625 GB, free: 6.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005248/0.1987, allocations: 287.4 kB / 0.6628 GB, free: 6.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.218e-05/0.1988, allocations: 305.1 kB / 0.6631 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.2005, allocations: 0.7652 MB / 0.6638 GB, free: 5.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.2022, allocations: 0.9342 MB / 0.6647 GB, free: 4.059 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0241/0.2263, allocations: 5.575 MB / 0.6702 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.2264, allocations: 4 kB / 0.6702 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01398/0.2404, allocations: 4.34 MB / 0.6744 GB, free: 10.03 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.2404, allocations: 63.39 kB / 0.6745 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.2405, allocations: 0 / 0.6745 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/0.2462, allocations: 1.503 MB / 0.6759 GB, free: 8.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.2477, allocations: 307.5 kB / 0.6762 GB, free: 8.145 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02021/0.2679, allocations: 8.258 MB / 0.6843 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.2698, allocations: 198.8 kB / 0.6845 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001868/0.27, allocations: 63.91 kB / 0.6845 GB, free: 15.47 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.0006412/0.2706, allocations: 300.7 kB / 0.6848 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.2709, allocations: 126.3 kB / 0.6849 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01363/0.2845, allocations: 3.885 MB / 0.6887 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-05/0.2846, allocations: 3.984 kB / 0.6887 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2846, allocations: 0 / 0.6887 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004296/0.285, allocations: 219.3 kB / 0.689 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.2854, allocations: 20 kB / 0.689 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001315/0.2867, allocations: 111.9 kB / 0.6891 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001051/0.2878, allocations: 428.3 kB / 0.6895 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006641/0.2944, allocations: 2.236 MB / 0.6917 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004554/0.299, allocations: 2.277 MB / 0.6939 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001328/0.3003, allocations: 0.5661 MB / 0.6944 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001174/0.3015, allocations: 0.7274 MB / 0.6952 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of Backend: time 4.31e-07/0.3015, allocations: 3.938 kB / 0.6952 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005938/0.3075, allocations: 2.082 MB / 0.6972 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003638/0.3111, allocations: 2.904 MB / 0.7 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.263/0.5742, allocations: 22.61 MB / 0.7221 GB, free: 86.46 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)