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-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.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-master/package.mo): time 0.08949/0.08949, 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.001248/0.001249, 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.513/1.513, 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.00146/0.00146, allocations: 195.7 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4616/0.4616, allocations: 78.5 MB / 419.3 MB, free: 10.77 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.002626/0.002626, allocations: 130.6 kB / 0.5559 GB, free: 17.29 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1223, allocations: 68.12 MB / 0.6224 GB, free: 13.13 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.007112/0.1294, allocations: 6.426 MB / 0.6287 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005074/0.1345, allocations: 1.822 MB / 0.6305 GB, free: 4.844 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.1355, allocations: 12 kB / 0.6305 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00076/0.1363, allocations: 218 kB / 0.6307 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.1386, allocations: 0.714 MB / 0.6314 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1401, allocations: 0.611 MB / 0.632 GB, free: 3.297 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.142, allocations: 1.398 MB / 0.6333 GB, free: 1.895 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000557/0.1426, allocations: 324.3 kB / 0.6336 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009536/0.1435, allocations: 0.5912 MB / 0.6342 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009894/0.1445, allocations: 0.7155 MB / 0.6349 GB, free: 256 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.1448, allocations: 100 kB / 0.635 GB, free: 156 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006081/0.1454, allocations: 239.9 kB / 0.6352 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003034/0.1458, allocations: 282.7 kB / 0.6355 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007437/0.1465, allocations: 0.6174 MB / 0.6361 GB, free: 15.02 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.1482, allocations: 1.509 MB / 0.6376 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1482, allocations: 0 / 0.6376 GB, free: 13.5 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1482, allocations: 0 / 0.6376 GB, free: 13.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.717e-05/0.1483, allocations: 4 kB / 0.6376 GB, free: 13.5 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007778/0.1561, allocations: 2.578 MB / 0.6401 GB, free: 10.86 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1561, allocations: 11.98 kB / 0.6401 GB, free: 10.85 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005366/0.1615, allocations: 0.7874 MB / 0.6409 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.1628, allocations: 0.7771 MB / 0.6416 GB, free: 9.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002805/0.1631, allocations: 256.2 kB / 0.6419 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1633, allocations: 76 kB / 0.642 GB, free: 8.871 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/0.1656, allocations: 1.073 MB / 0.643 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1656, allocations: 7.938 kB / 0.643 GB, free: 7.785 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.1657, allocations: 28 kB / 0.643 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.1658, allocations: 20 kB / 0.6431 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.1683, allocations: 1.128 MB / 0.6442 GB, free: 6.605 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.006355/0.1746, allocations: 3.421 MB / 0.6475 GB, free: 3.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.1768, allocations: 1.408 MB / 0.6489 GB, free: 1.508 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.1785, allocations: 0.7774 MB / 0.6496 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.1787, allocations: 20.98 kB / 0.6497 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.1787, allocations: 43.44 kB / 0.6497 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.1787, allocations: 4 kB / 0.6497 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02636/0.2051, allocations: 6.751 MB / 0.6563 GB, free: 9.871 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.2052, allocations: 60.41 kB / 0.6564 GB, free: 9.801 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001425/0.2066, allocations: 0.8955 MB / 0.6572 GB, free: 8.887 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.2068, allocations: 41.7 kB / 0.6573 GB, free: 8.84 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.2072, allocations: 0.4973 MB / 0.6578 GB, free: 8.336 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.2077, allocations: 357 kB / 0.6581 GB, free: 7.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004683/0.2082, allocations: 194.9 kB / 0.6583 GB, free: 7.785 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.2083, allocations: 345.9 kB / 0.6586 GB, free: 7.441 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.21, allocations: 0.7131 MB / 0.6593 GB, free: 6.73 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.2119, allocations: 0.8423 MB / 0.6601 GB, free: 5.855 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01883/0.2307, allocations: 4.779 MB / 0.6648 GB, free: 1.039 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.2307, allocations: 4 kB / 0.6648 GB, free: 1.035 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01425/0.245, allocations: 4.262 MB / 0.669 GB, free: 12.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.2451, allocations: 8 kB / 0.669 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.2451, allocations: 7.938 kB / 0.669 GB, free: 12.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.2516, allocations: 1.855 MB / 0.6708 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2527, allocations: 199.8 kB / 0.671 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0225/0.2752, allocations: 9.098 MB / 0.6799 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2768, allocations: 175.2 kB / 0.68 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002281/0.277, allocations: 39.98 kB / 0.6801 GB, free: 1.223 MB / 494.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 (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 prepare postOptimizeDAE: time 0.0006495/0.2777, allocations: 249.5 kB / 0.6803 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003628/0.2781, allocations: 127.2 kB / 0.6804 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2819/0.56, allocations: 4 MB / 0.6843 GB, free: 54.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.56, allocations: 13.5 kB / 0.6843 GB, free: 54.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.5601, allocations: 4.719 kB / 0.6844 GB, free: 54.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.5601, allocations: 9.188 kB / 0.6844 GB, free: 54.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.5774, allocations: 5.611 MB / 0.6898 GB, free: 53.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.5774, allocations: 0 / 0.6898 GB, free: 53.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008029/0.5783, allocations: 133.7 kB / 0.69 GB, free: 53.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006565/0.5848, allocations: 1.738 MB / 0.6917 GB, free: 53.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001796/0.585, allocations: 19.19 kB / 0.6917 GB, free: 53.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.6031, allocations: 8.079 MB / 0.6996 GB, free: 49.26 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.6031, allocations: 0 / 0.6996 GB, free: 49.26 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/0.6183, allocations: 4.975 MB / 0.7044 GB, free: 47.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.6187, allocations: 209.6 kB / 0.7046 GB, free: 47.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002497/0.619, allocations: 16.59 kB / 0.7046 GB, free: 47.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.6201, allocations: 108 kB / 0.7048 GB, free: 47.11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/0.6208, allocations: 215 kB / 0.705 GB, free: 46.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.6209, allocations: 24.5 kB / 0.705 GB, free: 46.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009638/0.6219, allocations: 0.6039 MB / 0.7056 GB, free: 46.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.6219, allocations: 1.188 kB / 0.7056 GB, free: 46.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001366/0.6233, allocations: 433.3 kB / 0.706 GB, free: 46.57 MB / 494.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 (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.000267/0.6236, allocations: 127.9 kB / 0.7061 GB, free: 46.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006588/0.6302, allocations: 2.479 MB / 0.7085 GB, free: 45.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.6302, allocations: 0 / 0.7085 GB, free: 45.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004542/0.6348, allocations: 1.604 MB / 0.7101 GB, free: 44.38 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006927/0.6355, allocations: 89.88 kB / 0.7102 GB, free: 44.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.6389, allocations: 1.957 MB / 0.7121 GB, free: 43.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.6393, allocations: 1.084 MB / 0.7132 GB, free: 42.26 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003103/0.6396, allocations: 88.69 kB / 0.7132 GB, free: 42.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.6399, allocations: 72.06 kB / 0.7133 GB, free: 42.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.723e-06/0.6399, allocations: 0 / 0.7133 GB, free: 42.2 MB / 494.1 MB Notification: Performance of Templates: time 0.02867/0.6686, allocations: 23.59 MB / 0.7363 GB, free: 19.02 MB / 494.1 MB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (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)