Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 104.6 kB / 16.41 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.1 MB, free: 4.375 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.00145/0.00145, allocations: 192.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5042/0.5042, allocations: 91.91 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 82.03 kB / 0.5734 GB, free: 33.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1225, allocations: 71.29 MB / 0.643 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006869/0.1294, allocations: 6.464 MB / 0.6493 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003731/0.1332, allocations: 1.864 MB / 0.6511 GB, free: 11.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007336/0.1339, allocations: 12 kB / 0.6512 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.1345, allocations: 222 kB / 0.6514 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.1364, allocations: 0.7175 MB / 0.6521 GB, free: 10.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.1377, allocations: 0.612 MB / 0.6527 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.1393, allocations: 1.413 MB / 0.6541 GB, free: 8.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.1398, allocations: 332.3 kB / 0.6544 GB, free: 7.914 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007019/0.1405, allocations: 0.599 MB / 0.655 GB, free: 7.312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007133/0.1412, allocations: 0.7271 MB / 0.6557 GB, free: 6.582 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001526/0.1414, allocations: 100 kB / 0.6558 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.1419, allocations: 247.8 kB / 0.656 GB, free: 6.242 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002198/0.1421, allocations: 278.8 kB / 0.6563 GB, free: 5.969 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.1426, allocations: 0.6252 MB / 0.6569 GB, free: 5.34 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1441, allocations: 1.522 MB / 0.6584 GB, free: 3.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1441, allocations: 0 / 0.6584 GB, free: 3.812 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1441, allocations: 0 / 0.6584 GB, free: 3.812 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.1441, allocations: 4 kB / 0.6584 GB, free: 3.809 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.007634/0.1517, allocations: 2.56 MB / 0.6609 GB, free: 1.195 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.1518, allocations: 8.031 kB / 0.6609 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004855/0.1567, allocations: 0.7866 MB / 0.6616 GB, free: 408 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.158, allocations: 0.7685 MB / 0.6624 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002784/0.1583, allocations: 260.1 kB / 0.6626 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.1585, allocations: 80 kB / 0.6627 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.1607, allocations: 1.077 MB / 0.6638 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1607, allocations: 3.938 kB / 0.6638 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-05/0.1608, allocations: 32 kB / 0.6638 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.1608, allocations: 20 kB / 0.6638 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002416/0.1632, allocations: 1.124 MB / 0.6649 GB, free: 12.94 MB / 478.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.005884/0.1691, allocations: 3.436 MB / 0.6683 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.1712, allocations: 1.423 MB / 0.6697 GB, free: 7.809 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.1727, allocations: 0.7813 MB / 0.6704 GB, free: 7.023 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.372e-05/0.1728, allocations: 20.98 kB / 0.6704 GB, free: 7.004 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.1728, allocations: 39.56 kB / 0.6705 GB, free: 6.957 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.615e-06/0.1728, allocations: 0 / 0.6705 GB, free: 6.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02436/0.1972, allocations: 6.609 MB / 0.6769 GB, free: 320 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.1973, allocations: 64.39 kB / 0.677 GB, free: 244 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.1985, allocations: 0.8963 MB / 0.6779 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002032/0.1987, allocations: 41.7 kB / 0.6779 GB, free: 15.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003549/0.1991, allocations: 0.5006 MB / 0.6784 GB, free: 14.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003674/0.1995, allocations: 335.1 kB / 0.6787 GB, free: 14.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.1999, allocations: 202.8 kB / 0.6789 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2, allocations: 349.9 kB / 0.6792 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00157/0.2016, allocations: 0.7209 MB / 0.68 GB, free: 13.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/0.2033, allocations: 0.854 MB / 0.6808 GB, free: 12.28 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0184/0.2217, allocations: 4.826 MB / 0.6855 GB, free: 7.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.2217, allocations: 0 / 0.6855 GB, free: 7.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01353/0.2353, allocations: 4.273 MB / 0.6897 GB, free: 3.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.2353, allocations: 4 kB / 0.6897 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2354, allocations: 7.938 kB / 0.6897 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00612/0.2415, allocations: 1.803 MB / 0.6914 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.2426, allocations: 219.7 kB / 0.6917 GB, free: 1.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02091/0.2635, allocations: 9.322 MB / 0.7008 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/0.2651, allocations: 182.9 kB / 0.7009 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.2653, allocations: 39.98 kB / 0.701 GB, free: 7.395 MB / 0.4981 GB 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.000484/0.2657, allocations: 247.2 kB / 0.7012 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.266, allocations: 122.4 kB / 0.7013 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.2789, allocations: 4.018 MB / 0.7052 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.2789, allocations: 12 kB / 0.7053 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2789, allocations: 0 / 0.7053 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.161e-05/0.2789, allocations: 7.984 kB / 0.7053 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.2937, allocations: 5.61 MB / 0.7107 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.789e-05/0.2938, allocations: 7.984 kB / 0.7107 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.2946, allocations: 131.8 kB / 0.7109 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005721/0.3003, allocations: 1.741 MB / 0.7126 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/0.3005, allocations: 19.98 kB / 0.7126 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/0.3183, allocations: 8.064 MB / 0.7205 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3184, allocations: 0 / 0.7205 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.333, allocations: 4.968 MB / 0.7253 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003772/0.3334, allocations: 203.5 kB / 0.7255 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.3336, allocations: 19.98 kB / 0.7255 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.3346, allocations: 111.8 kB / 0.7256 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007305/0.3353, allocations: 220.7 kB / 0.7259 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-05/0.3354, allocations: 20 kB / 0.7259 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007669/0.3362, allocations: 0.6047 MB / 0.7265 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3362, allocations: 0 / 0.7265 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001232/0.3374, allocations: 447.4 kB / 0.7269 GB, free: 12.48 MB / 0.5294 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.0002614/0.3377, allocations: 123.1 kB / 0.727 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006758/0.3445, allocations: 2.508 MB / 0.7295 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3445, allocations: 0 / 0.7295 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004621/0.3491, allocations: 1.589 MB / 0.731 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.3499, allocations: 88.41 kB / 0.7311 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.3539, allocations: 2.034 MB / 0.7331 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/0.3546, allocations: 1.099 MB / 0.7341 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.355, allocations: 71.42 kB / 0.7342 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of SimCode: time 1.312e-06/0.355, allocations: 4 kB / 0.7342 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.02586/0.3809, allocations: 20.21 MB / 0.754 GB, free: 0.6523 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)