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.07634/0.07634, allocations: 12.6 MB / 28.91 MB, free: 0.6133 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.001078/0.001078, allocations: 111.5 kB / 32.51 MB, free: 3.551 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.35/1.35, allocations: 205.1 MB / 241.1 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.00153/0.00153, allocations: 192.5 kB / 291.4 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4277/0.4277, allocations: 78.51 MB / 420 MB, free: 11.25 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.002659/0.002659, allocations: 150.3 kB / 0.5565 GB, free: 28.48 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1325, allocations: 68.12 MB / 0.6231 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.007241/0.1398, allocations: 6.491 MB / 0.6294 GB, free: 8.867 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004045/0.1439, allocations: 1.822 MB / 0.6312 GB, free: 7.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1451, allocations: 15.94 kB / 0.6312 GB, free: 7.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.1459, allocations: 222 kB / 0.6314 GB, free: 6.805 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.1485, allocations: 0.7726 MB / 0.6322 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.1501, allocations: 0.6035 MB / 0.6328 GB, free: 5.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002277/0.1524, allocations: 1.421 MB / 0.6341 GB, free: 4.004 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000665/0.1531, allocations: 324.4 kB / 0.6345 GB, free: 3.676 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.1541, allocations: 0.5912 MB / 0.635 GB, free: 3.082 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.1553, allocations: 0.7349 MB / 0.6358 GB, free: 2.344 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003928/0.1557, allocations: 107.9 kB / 0.6359 GB, free: 2.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007326/0.1564, allocations: 231.9 kB / 0.6361 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003856/0.1568, allocations: 286.8 kB / 0.6363 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009274/0.1578, allocations: 0.6252 MB / 0.637 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.1598, allocations: 1.526 MB / 0.6384 GB, free: 15.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1599, allocations: 0 / 0.6384 GB, free: 15.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1599, allocations: 0 / 0.6384 GB, free: 15.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.623e-05/0.1599, allocations: 0 / 0.6384 GB, free: 15.57 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.008754/0.1687, allocations: 2.56 MB / 0.6409 GB, free: 12.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.1688, allocations: 15.98 kB / 0.641 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005105/0.1739, allocations: 0.7787 MB / 0.6417 GB, free: 12.16 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.1754, allocations: 0.7686 MB / 0.6425 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.1758, allocations: 264.2 kB / 0.6427 GB, free: 11.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.176, allocations: 76 kB / 0.6428 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002642/0.1787, allocations: 1.077 MB / 0.6439 GB, free: 9.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1787, allocations: 3.938 kB / 0.6439 GB, free: 9.879 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.1788, allocations: 32 kB / 0.6439 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1788, allocations: 23.94 kB / 0.6439 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.1815, allocations: 1.124 MB / 0.645 GB, free: 8.695 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.00656/0.188, allocations: 3.44 MB / 0.6484 GB, free: 5.105 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00222/0.1903, allocations: 1.423 MB / 0.6498 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.1919, allocations: 0.7812 MB / 0.6505 GB, free: 2.781 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.957e-05/0.1921, allocations: 20.92 kB / 0.6505 GB, free: 2.762 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1921, allocations: 47.56 kB / 0.6506 GB, free: 2.707 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 4.559e-06/0.1921, allocations: 3.984 kB / 0.6506 GB, free: 2.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02694/0.219, allocations: 6.606 MB / 0.657 GB, free: 12.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.2191, allocations: 60.41 kB / 0.6571 GB, free: 11.99 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.2206, allocations: 0.9001 MB / 0.658 GB, free: 11.07 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.2209, allocations: 45.7 kB / 0.658 GB, free: 11.02 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004123/0.2213, allocations: 0.4929 MB / 0.6585 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005582/0.2219, allocations: 343.1 kB / 0.6588 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005977/0.2225, allocations: 202.8 kB / 0.659 GB, free: 9.977 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.2227, allocations: 341.9 kB / 0.6593 GB, free: 9.637 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001799/0.2245, allocations: 0.7248 MB / 0.6601 GB, free: 8.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001908/0.2265, allocations: 0.8462 MB / 0.6609 GB, free: 8.035 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01947/0.2459, allocations: 4.83 MB / 0.6656 GB, free: 3.172 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.246, allocations: 3.938 kB / 0.6656 GB, free: 3.168 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01455/0.2605, allocations: 4.276 MB / 0.6698 GB, free: 14.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.2606, allocations: 12 kB / 0.6698 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.2607, allocations: 0 / 0.6698 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/0.2673, allocations: 1.815 MB / 0.6716 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2685, allocations: 207.7 kB / 0.6718 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02336/0.2919, allocations: 9.308 MB / 0.6809 GB, free: 3.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.2935, allocations: 171 kB / 0.681 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.2937, allocations: 43.98 kB / 0.6811 GB, free: 3.164 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.0006373/0.2944, allocations: 249.3 kB / 0.6813 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.2947, allocations: 122.5 kB / 0.6814 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/0.3084, allocations: 4.01 MB / 0.6853 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/0.3085, allocations: 7.922 kB / 0.6853 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.3085, allocations: 4 kB / 0.6853 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003886/0.3089, allocations: 195.4 kB / 0.6855 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/0.3092, allocations: 20 kB / 0.6855 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.3104, allocations: 111.9 kB / 0.6856 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001346/0.3118, allocations: 0.4924 MB / 0.6861 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006222/0.318, allocations: 2.094 MB / 0.6882 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005124/0.3232, allocations: 2.334 MB / 0.6905 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001527/0.3247, allocations: 0.6246 MB / 0.6911 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008554/0.3256, allocations: 0.5969 MB / 0.6916 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of Backend: time 5.41e-07/0.3256, allocations: 0 / 0.6916 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006271/0.3319, allocations: 2.003 MB / 0.6936 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003294/0.3352, allocations: 2.545 MB / 0.6961 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of Templates: time 0.2819/0.6171, allocations: 22.78 MB / 0.7183 GB, free: 87.81 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)