Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.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.0.1/package.mo", uses=false) 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.Discretization.FourthOrder_AVRII_Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 109.5 kB / 16.42 MB, free: 6.496 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.302/1.302, allocations: 222.9 MB / 240.1 MB, free: 4.562 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.001265/0.001265, allocations: 196.4 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4312/0.4312, allocations: 78.53 MB / 419.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 80.11 kB / 0.5543 GB, free: 1.027 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2884, allocations: 68.17 MB / 0.6209 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous): time 0.005004/0.2934, allocations: 6.564 MB / 0.6273 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.2964, allocations: 1.955 MB / 0.6292 GB, free: 1.723 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004501/0.2969, allocations: 12 kB / 0.6292 GB, free: 1.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.2974, allocations: 242 kB / 0.6294 GB, free: 1.473 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.299, allocations: 0.8583 MB / 0.6303 GB, free: 0.6133 MB / 430.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.001027/0.3, allocations: 0.6215 MB / 0.6309 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.3016, allocations: 1.592 MB / 0.6324 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004475/0.3021, allocations: 326.4 kB / 0.6328 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000782/0.3029, allocations: 0.6613 MB / 0.6334 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008939/0.3038, allocations: 0.809 MB / 0.6342 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.304, allocations: 124 kB / 0.6343 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004714/0.3045, allocations: 259.8 kB / 0.6346 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002938/0.3048, allocations: 334.6 kB / 0.6349 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000585/0.3054, allocations: 0.668 MB / 0.6355 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001738/0.3071, allocations: 1.668 MB / 0.6372 GB, free: 9.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3071, allocations: 3.938 kB / 0.6372 GB, free: 9.543 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3071, allocations: 0 / 0.6372 GB, free: 9.543 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.3072, allocations: 8 kB / 0.6372 GB, free: 9.535 MB / 446.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.008862/0.316, allocations: 2.676 MB / 0.6398 GB, free: 6.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3161, allocations: 8.031 kB / 0.6398 GB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.3212, allocations: 0.7787 MB / 0.6406 GB, free: 6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3226, allocations: 0.8786 MB / 0.6414 GB, free: 5.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002753/0.3229, allocations: 260.2 kB / 0.6417 GB, free: 4.773 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.323, allocations: 95.84 kB / 0.6418 GB, free: 4.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.3252, allocations: 1.09 MB / 0.6428 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.3252, allocations: 0 / 0.6428 GB, free: 3.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.3253, allocations: 32 kB / 0.6428 GB, free: 3.547 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.3254, allocations: 16 kB / 0.6429 GB, free: 3.531 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.3274, allocations: 0.9877 MB / 0.6438 GB, free: 2.543 MB / 446.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.006445/0.3338, allocations: 3.8 MB / 0.6475 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007603/0.3414, allocations: 2.371 MB / 0.6499 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001396/0.3429, allocations: 0.6762 MB / 0.6505 GB, free: 11.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.129e-05/0.343, allocations: 20.97 kB / 0.6505 GB, free: 11.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001642/0.3446, allocations: 0.8229 MB / 0.6513 GB, free: 10.56 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.3446, allocations: 0 / 0.6513 GB, free: 10.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.0298/0.3744, allocations: 7.073 MB / 0.6582 GB, free: 3.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.3745, allocations: 119.8 kB / 0.6584 GB, free: 3.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001657/0.3762, allocations: 1.083 MB / 0.6594 GB, free: 2.184 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.3764, allocations: 49.69 kB / 0.6595 GB, free: 2.129 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.3768, allocations: 492.8 kB / 0.6599 GB, free: 1.641 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.3772, allocations: 362.9 kB / 0.6603 GB, free: 1.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004975/0.3777, allocations: 283.5 kB / 0.6606 GB, free: 1 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3778, allocations: 309.1 kB / 0.6608 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.3795, allocations: 0.7652 MB / 0.6616 GB, free: 15.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001728/0.3812, allocations: 0.942 MB / 0.6625 GB, free: 14.95 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02386/0.4051, allocations: 5.583 MB / 0.668 GB, free: 9.277 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4051, allocations: 0 / 0.668 GB, free: 9.277 MB / 478.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.01371/0.4188, allocations: 4.332 MB / 0.6722 GB, free: 4.918 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/0.4189, allocations: 59.41 kB / 0.6723 GB, free: 4.848 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.419, allocations: 4 kB / 0.6723 GB, free: 4.844 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005775/0.4247, allocations: 1.512 MB / 0.6737 GB, free: 3.328 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.4263, allocations: 291.6 kB / 0.674 GB, free: 3.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02048/0.4468, allocations: 8.264 MB / 0.6821 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4487, allocations: 202.8 kB / 0.6823 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.4488, allocations: 55.97 kB / 0.6823 GB, free: 10.37 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.0005865/0.4494, allocations: 307 kB / 0.6826 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.4496, allocations: 130.3 kB / 0.6827 GB, free: 9.926 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/0.4629, allocations: 3.873 MB / 0.6865 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.463, allocations: 3.984 kB / 0.6865 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.463, allocations: 0 / 0.6865 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.4633, allocations: 231.2 kB / 0.6868 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.4635, allocations: 20 kB / 0.6868 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.4647, allocations: 107.9 kB / 0.6869 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009628/0.4657, allocations: 440.3 kB / 0.6873 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00636/0.472, allocations: 2.221 MB / 0.6895 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004502/0.4766, allocations: 2.265 MB / 0.6917 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001323/0.4779, allocations: 0.5778 MB / 0.6922 GB, free: 92 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.4791, allocations: 0.7236 MB / 0.6929 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of Backend: time 7.61e-07/0.4791, allocations: 4 kB / 0.6929 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006037/0.4852, allocations: 2.071 MB / 0.695 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003544/0.4887, allocations: 2.918 MB / 0.6978 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.0341/0.5229, allocations: 22.63 MB / 0.7199 GB, free: 3.637 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Continuous.pipe 2>&1)