Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07246/0.07246, allocations: 12.21 MB / 27.16 MB, free: 112 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 110 kB / 30.67 MB, free: 6.422 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.383/1.383, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001071/0.001071, allocations: 177.9 kB / 290.6 MB, free: 8.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4281/0.4281, allocations: 78.5 MB / 420.1 MB, free: 6.582 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.0008974/0.0008976, allocations: 32.25 kB / 0.4894 GB, free: 37.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1325, allocations: 69.24 MB / 0.557 GB, free: 8.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006557/0.1391, allocations: 5.611 MB / 0.5625 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1433, allocations: 1.808 MB / 0.5643 GB, free: 1.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001094/0.1444, allocations: 15.94 kB / 0.5643 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008714/0.1453, allocations: 158.8 kB / 0.5644 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.1476, allocations: 0.6424 MB / 0.5651 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.1491, allocations: 0.5064 MB / 0.5655 GB, free: 100 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.1512, allocations: 0.9013 MB / 0.5664 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1519, allocations: 277.6 kB / 0.5667 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009111/0.1528, allocations: 0.4902 MB / 0.5672 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.1536, allocations: 0.6223 MB / 0.5678 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.1538, allocations: 52 kB / 0.5678 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.1542, allocations: 163.8 kB / 0.568 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1543, allocations: 211 kB / 0.5682 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.1545, allocations: 221 kB / 0.5684 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.1556, allocations: 1.044 MB / 0.5694 GB, free: 12.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.1556, allocations: 0 / 0.5694 GB, free: 12.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1556, allocations: 0 / 0.5694 GB, free: 12.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.1556, allocations: 0 / 0.5694 GB, free: 12.1 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007386/0.163, allocations: 2.389 MB / 0.5717 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1631, allocations: 15.92 kB / 0.5718 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004771/0.1678, allocations: 0.7866 MB / 0.5725 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.1691, allocations: 0.7147 MB / 0.5732 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003052/0.1694, allocations: 272.1 kB / 0.5735 GB, free: 7.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.1695, allocations: 76 kB / 0.5736 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/0.1718, allocations: 1.151 MB / 0.5747 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.1718, allocations: 4 kB / 0.5747 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.761e-05/0.1719, allocations: 28 kB / 0.5747 GB, free: 6.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1719, allocations: 20 kB / 0.5747 GB, free: 6.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.1744, allocations: 1.234 MB / 0.5759 GB, free: 5.266 MB / 398.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.005735/0.1802, allocations: 3.599 MB / 0.5795 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002234/0.1824, allocations: 1.506 MB / 0.5809 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001004/0.1826, allocations: 16.98 kB / 0.5809 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.1826, allocations: 39.56 kB / 0.581 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 5.29e-06/0.1826, allocations: 4 kB / 0.581 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02753/0.2101, allocations: 8.318 MB / 0.5891 GB, free: 7.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.2102, allocations: 64.39 kB / 0.5892 GB, free: 7.371 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.2115, allocations: 0.8837 MB / 0.59 GB, free: 6.469 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002202/0.2117, allocations: 41.7 kB / 0.5901 GB, free: 6.422 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003677/0.2121, allocations: 0.4889 MB / 0.5905 GB, free: 5.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/0.2125, allocations: 343.1 kB / 0.5909 GB, free: 5.586 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.2126, allocations: 20 kB / 0.5909 GB, free: 5.566 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.2128, allocations: 353.9 kB / 0.5912 GB, free: 5.215 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.2145, allocations: 0.7951 MB / 0.592 GB, free: 4.422 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.2164, allocations: 0.9244 MB / 0.5929 GB, free: 3.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.2182, allocations: 0.851 MB / 0.5937 GB, free: 2.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.2183, allocations: 0 / 0.5937 GB, free: 2.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01463/0.2329, allocations: 5.136 MB / 0.5988 GB, free: 13.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.233, allocations: 11.94 kB / 0.5988 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.233, allocations: 11.88 kB / 0.5988 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006703/0.2397, allocations: 2.186 MB / 0.6009 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2409, allocations: 215.8 kB / 0.6011 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.2635, allocations: 9.795 MB / 0.6107 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.2651, allocations: 215 kB / 0.6109 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/0.2654, allocations: 35.98 kB / 0.6109 GB, free: 0.8594 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005989/0.266, allocations: 253.5 kB / 0.6112 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.2663, allocations: 122.5 kB / 0.6113 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/0.2804, allocations: 4.932 MB / 0.6161 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.2804, allocations: 12 kB / 0.6161 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2804, allocations: 4 kB / 0.6161 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.2804, allocations: 7.969 kB / 0.6161 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01626/0.2967, allocations: 6.563 MB / 0.6225 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.2967, allocations: 0 / 0.6225 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.2975, allocations: 139.9 kB / 0.6227 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006176/0.3037, allocations: 2.054 MB / 0.6247 GB, free: 2.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001615/0.3039, allocations: 19.98 kB / 0.6247 GB, free: 2.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01887/0.3228, allocations: 8.652 MB / 0.6331 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3228, allocations: 0 / 0.6331 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.339, allocations: 5.993 MB / 0.639 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.3395, allocations: 203.3 kB / 0.6392 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003066/0.3398, allocations: 19.95 kB / 0.6392 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.341, allocations: 159.9 kB / 0.6394 GB, free: 3.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007692/0.3418, allocations: 212.6 kB / 0.6396 GB, free: 3.176 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.3419, allocations: 28 kB / 0.6396 GB, free: 3.148 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009397/0.3429, allocations: 0.577 MB / 0.6402 GB, free: 2.562 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3429, allocations: 0 / 0.6402 GB, free: 2.562 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001642/0.3445, allocations: 435.5 kB / 0.6406 GB, free: 2.137 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003391/0.3449, allocations: 131.1 kB / 0.6407 GB, free: 1.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007199/0.3521, allocations: 2.752 MB / 0.6434 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3521, allocations: 4.188 kB / 0.6434 GB, free: 15.23 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004932/0.3571, allocations: 1.798 MB / 0.6451 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006225/0.3577, allocations: 68.42 kB / 0.6452 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.3618, allocations: 2.312 MB / 0.6475 GB, free: 11.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.3624, allocations: 1.108 MB / 0.6485 GB, free: 9.879 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003537/0.3628, allocations: 90.69 kB / 0.6486 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002184/0.363, allocations: 63.41 kB / 0.6487 GB, free: 9.723 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.363, allocations: 0 / 0.6487 GB, free: 9.723 MB / 478.1 MB Notification: Performance of Templates: time 0.234/0.5971, allocations: 19.78 MB / 0.668 GB, free: 93.62 MB / 478.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile Environment - environmentSimulation: (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: