Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.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.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1166/0.1166, allocations: 12.59 MB / 28.23 MB, free: 0.7617 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.001117/0.001117, allocations: 111.4 kB / 31.84 MB, free: 3.895 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.357/1.357, allocations: 205.1 MB / 240.4 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.001267/0.001268, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4863/0.4863, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.002621/0.002621, allocations: 134.5 kB / 0.5559 GB, free: 28.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1393, allocations: 68.12 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.007709/0.1471, allocations: 6.764 MB / 0.629 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.1511, allocations: 1.979 MB / 0.6309 GB, free: 6.645 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/0.1517, allocations: 8 kB / 0.6309 GB, free: 6.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007243/0.1524, allocations: 237.9 kB / 0.6312 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.1543, allocations: 0.8925 MB / 0.632 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.1556, allocations: 0.6386 MB / 0.6327 GB, free: 4.883 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1571, allocations: 1.682 MB / 0.6343 GB, free: 3.195 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/0.1576, allocations: 318.5 kB / 0.6346 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.1583, allocations: 0.6964 MB / 0.6353 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008809/0.1592, allocations: 0.8751 MB / 0.6361 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001758/0.1594, allocations: 132 kB / 0.6363 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004338/0.1598, allocations: 271.8 kB / 0.6365 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.1601, allocations: 342.6 kB / 0.6368 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.1607, allocations: 0.6953 MB / 0.6375 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.1624, allocations: 1.74 MB / 0.6392 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1624, allocations: 0 / 0.6392 GB, free: 14.12 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1624, allocations: 0 / 0.6392 GB, free: 14.12 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1625, allocations: 0 / 0.6392 GB, free: 14.12 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.009168/0.1716, allocations: 2.782 MB / 0.6419 GB, free: 11.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1717, allocations: 11.98 kB / 0.642 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005185/0.1769, allocations: 0.7826 MB / 0.6427 GB, free: 10.47 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1785, allocations: 0.9257 MB / 0.6436 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002941/0.1789, allocations: 256.2 kB / 0.6439 GB, free: 9.203 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.179, allocations: 91.89 kB / 0.644 GB, free: 9.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.1814, allocations: 1.106 MB / 0.645 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.403e-05/0.1814, allocations: 8 kB / 0.645 GB, free: 7.988 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.1815, allocations: 31.94 kB / 0.6451 GB, free: 7.957 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/0.1816, allocations: 24 kB / 0.6451 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.1837, allocations: 1.003 MB / 0.6461 GB, free: 6.93 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.006753/0.1905, allocations: 3.895 MB / 0.6499 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007918/0.1984, allocations: 2.404 MB / 0.6522 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001523/0.2, allocations: 0.6919 MB / 0.6529 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.2001, allocations: 17 kB / 0.6529 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001717/0.2018, allocations: 0.8449 MB / 0.6537 GB, free: 14.79 MB / 478.1 MB Notification: Performance of pre-optimization done (n=98): time 2.795e-06/0.2018, allocations: 0 / 0.6537 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=98): time 0.03017/0.232, allocations: 7.081 MB / 0.6607 GB, free: 7.641 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.2321, allocations: 119.8 kB / 0.6608 GB, free: 7.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/0.234, allocations: 1.143 MB / 0.6619 GB, free: 6.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002304/0.2342, allocations: 45.7 kB / 0.6619 GB, free: 6.293 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.2346, allocations: 0.4969 MB / 0.6624 GB, free: 5.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003718/0.235, allocations: 362.9 kB / 0.6628 GB, free: 5.43 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005331/0.2356, allocations: 295.4 kB / 0.663 GB, free: 5.137 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2357, allocations: 309.1 kB / 0.6633 GB, free: 4.832 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.2374, allocations: 0.7926 MB / 0.6641 GB, free: 4.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.2394, allocations: 0.9693 MB / 0.6651 GB, free: 3.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02654/0.2659, allocations: 5.926 MB / 0.6708 GB, free: 13.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/0.266, allocations: 4 kB / 0.6709 GB, free: 13.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01513/0.2811, allocations: 4.508 MB / 0.6753 GB, free: 8.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.011e-05/0.2812, allocations: 63.39 kB / 0.6753 GB, free: 8.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.2813, allocations: 4 kB / 0.6753 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006681/0.288, allocations: 1.661 MB / 0.6769 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.2896, allocations: 303.5 kB / 0.6772 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02171/0.3113, allocations: 8.611 MB / 0.6856 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.3135, allocations: 206.6 kB / 0.6858 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.3136, allocations: 59.97 kB / 0.6859 GB, free: 13.4 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.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 order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (171): * Single equations (assignments): 168 * 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 {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000646/0.3143, allocations: 300.2 kB / 0.6862 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.3145, allocations: 134.3 kB / 0.6863 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.3281, allocations: 3.912 MB / 0.6901 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.3281, allocations: 12 kB / 0.6901 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.3281, allocations: 4 kB / 0.6901 GB, free: 9 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.3282, allocations: 11.97 kB / 0.6902 GB, free: 8.988 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.01533/0.3435, allocations: 5.549 MB / 0.6956 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.3435, allocations: 0 / 0.6956 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006986/0.3442, allocations: 107.8 kB / 0.6957 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005711/0.35, allocations: 1.599 MB / 0.6972 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.3501, allocations: 24 kB / 0.6973 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.372, allocations: 9.623 MB / 0.7067 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.372, allocations: 0 / 0.7067 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/0.3876, allocations: 4.805 MB / 0.7114 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.3882, allocations: 227.3 kB / 0.7116 GB, free: 2.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.3886, allocations: 23.94 kB / 0.7116 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.39, allocations: 107.9 kB / 0.7117 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006118/0.3906, allocations: 192.7 kB / 0.7119 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/0.3907, allocations: 35.98 kB / 0.7119 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001358/0.3921, allocations: 0.7753 MB / 0.7127 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3921, allocations: 3.938 kB / 0.7127 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001672/0.3938, allocations: 487.5 kB / 0.7131 GB, free: 0.9883 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(20,12,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003276/0.3941, allocations: 145.6 kB / 0.7133 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.2749/0.669, allocations: 2.624 MB / 0.7158 GB, free: 86.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6691, allocations: 0.8438 kB / 0.7158 GB, free: 86.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004938/0.674, allocations: 1.615 MB / 0.7174 GB, free: 85.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.6751, allocations: 113.2 kB / 0.7175 GB, free: 85.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.6793, allocations: 2.412 MB / 0.7199 GB, free: 84.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000677/0.68, allocations: 1.133 MB / 0.721 GB, free: 84.05 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004599/0.6805, allocations: 125.9 kB / 0.7211 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003035/0.6808, allocations: 80.3 kB / 0.7212 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of SimCode: time 9.21e-07/0.6808, allocations: 0 / 0.7212 GB, free: 84.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.03534/0.7162, allocations: 24.72 MB / 0.7453 GB, free: 74.16 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)