Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1053/0.1053, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001217/0.001217, allocations: 115.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.486/1.486, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001257/0.001257, allocations: 187.3 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.5152/0.5152, allocations: 78.51 MB / 419.3 MB, free: 11.29 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.002501/0.002501, allocations: 146.1 kB / 0.5559 GB, free: 28.49 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1278, allocations: 68.12 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007047/0.1349, allocations: 6.48 MB / 0.6287 GB, free: 8.906 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003729/0.1386, allocations: 1.83 MB / 0.6305 GB, free: 7.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006813/0.1393, allocations: 12 kB / 0.6305 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.1399, allocations: 222 kB / 0.6307 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001692/0.1416, allocations: 0.72 MB / 0.6314 GB, free: 6.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.1429, allocations: 0.6152 MB / 0.632 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.1444, allocations: 1.417 MB / 0.6334 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000469/0.1449, allocations: 328.3 kB / 0.6337 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007576/0.1456, allocations: 0.5912 MB / 0.6343 GB, free: 3.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008091/0.1465, allocations: 0.7388 MB / 0.635 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.1466, allocations: 103.9 kB / 0.6351 GB, free: 2.316 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004576/0.1471, allocations: 243.8 kB / 0.6354 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.1473, allocations: 270.8 kB / 0.6356 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004991/0.1478, allocations: 0.6252 MB / 0.6362 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.1494, allocations: 1.532 MB / 0.6377 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1494, allocations: 0 / 0.6377 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1494, allocations: 0 / 0.6377 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1494, allocations: 0 / 0.6377 GB, free: 15.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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007844/0.1573, allocations: 2.598 MB / 0.6403 GB, free: 12.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1573, allocations: 15.98 kB / 0.6403 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004973/0.1623, allocations: 0.7874 MB / 0.6411 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.1636, allocations: 0.7812 MB / 0.6418 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.1639, allocations: 260.2 kB / 0.6421 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.164, allocations: 79.95 kB / 0.6421 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.1664, allocations: 1.081 MB / 0.6432 GB, free: 9.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.1665, allocations: 3.938 kB / 0.6432 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.196e-05/0.1666, allocations: 32 kB / 0.6432 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.1666, allocations: 20 kB / 0.6432 GB, free: 9.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.1691, allocations: 1.124 MB / 0.6443 GB, free: 8.711 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.005817/0.1749, allocations: 3.445 MB / 0.6477 GB, free: 5.117 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002229/0.1772, allocations: 1.435 MB / 0.6491 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.1788, allocations: 0.7812 MB / 0.6499 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.179, allocations: 20.97 kB / 0.6499 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.179, allocations: 39.56 kB / 0.6499 GB, free: 2.715 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.695e-06/0.179, allocations: 8 kB / 0.6499 GB, free: 2.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02593/0.205, allocations: 6.61 MB / 0.6564 GB, free: 12.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2051, allocations: 60.41 kB / 0.6565 GB, free: 11.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.2063, allocations: 0.9002 MB / 0.6573 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.2065, allocations: 41.7 kB / 0.6574 GB, free: 11.03 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.2069, allocations: 0.4936 MB / 0.6579 GB, free: 10.53 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.2073, allocations: 356.8 kB / 0.6582 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/0.2077, allocations: 210.9 kB / 0.6584 GB, free: 9.961 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.2079, allocations: 345.9 kB / 0.6587 GB, free: 9.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0017/0.2096, allocations: 0.717 MB / 0.6594 GB, free: 8.902 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.2114, allocations: 0.854 MB / 0.6603 GB, free: 8.016 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/0.2303, allocations: 4.822 MB / 0.665 GB, free: 3.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.2304, allocations: 0 / 0.665 GB, free: 3.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01435/0.2447, allocations: 4.285 MB / 0.6692 GB, free: 14.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.831e-05/0.2448, allocations: 6.812 kB / 0.6692 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.2448, allocations: 7.938 kB / 0.6692 GB, free: 14.85 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006404/0.2513, allocations: 1.807 MB / 0.6709 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.2524, allocations: 211.7 kB / 0.6711 GB, free: 12.83 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02239/0.2748, allocations: 9.334 MB / 0.6802 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.2763, allocations: 179.2 kB / 0.6804 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.2765, allocations: 35.98 kB / 0.6805 GB, free: 3.129 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.277, allocations: 249.6 kB / 0.6807 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/0.2772, allocations: 127.1 kB / 0.6808 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01346/0.2907, allocations: 4.014 MB / 0.6847 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.2907, allocations: 8 kB / 0.6847 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.2907, allocations: 4 kB / 0.6847 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.252e-05/0.2908, allocations: 7.922 kB / 0.6848 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.3061, allocations: 5.618 MB / 0.6902 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.3062, allocations: 0 / 0.6902 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.3069, allocations: 135.8 kB / 0.6904 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006056/0.313, allocations: 1.741 MB / 0.6921 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.3132, allocations: 16 kB / 0.6921 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0245/0.3377, allocations: 8.092 MB / 0.7 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3377, allocations: 0 / 0.7 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02174/0.3595, allocations: 4.972 MB / 0.7048 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000502/0.36, allocations: 208.1 kB / 0.705 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/0.3604, allocations: 16 kB / 0.7051 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.3619, allocations: 115.8 kB / 0.7052 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001014/0.3629, allocations: 216.7 kB / 0.7054 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.3631, allocations: 27.98 kB / 0.7054 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001249/0.3643, allocations: 0.6008 MB / 0.706 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.3644, allocations: 0 / 0.706 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001776/0.3661, allocations: 443.6 kB / 0.7064 GB, free: 8.18 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004351/0.3666, allocations: 123.5 kB / 0.7065 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009687/0.3763, allocations: 2.507 MB / 0.709 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.423e-06/0.3763, allocations: 3.938 kB / 0.709 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006367/0.3827, allocations: 1.601 MB / 0.7105 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008354/0.3836, allocations: 85.11 kB / 0.7106 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.3876, allocations: 2.042 MB / 0.7126 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006862/0.3883, allocations: 1.103 MB / 0.7137 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003769/0.3887, allocations: 82.77 kB / 0.7138 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002455/0.3889, allocations: 67.42 kB / 0.7138 GB, free: 484 kB / 0.5137 GB Notification: Performance of SimCode: time 4.157e-06/0.3889, allocations: 0 / 0.7138 GB, free: 484 kB / 0.5137 GB Notification: Performance of Templates: time 0.3099/0.6988, allocations: 23.92 MB / 0.7372 GB, free: 79.03 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)