Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 108 kB / 16.41 MB, free: 6.027 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.389/1.389, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001546/0.001546, allocations: 184.5 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5248/0.5248, allocations: 91.9 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001449, allocations: 86.56 kB / 0.5734 GB, free: 33.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1596, allocations: 71.27 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00707/0.1667, allocations: 6.409 MB / 0.6493 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.1711, allocations: 1.845 MB / 0.6511 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009074/0.172, allocations: 16 kB / 0.6511 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006166/0.1727, allocations: 222 kB / 0.6513 GB, free: 11.06 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.1746, allocations: 0.7196 MB / 0.652 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001392/0.176, allocations: 0.5938 MB / 0.6526 GB, free: 9.754 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001756/0.1778, allocations: 1.398 MB / 0.6539 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005206/0.1783, allocations: 336.2 kB / 0.6543 GB, free: 8.008 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.1791, allocations: 0.5912 MB / 0.6548 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007906/0.1799, allocations: 0.7154 MB / 0.6555 GB, free: 6.695 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.18, allocations: 108 kB / 0.6556 GB, free: 6.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000488/0.1805, allocations: 235.9 kB / 0.6559 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.1808, allocations: 286.7 kB / 0.6561 GB, free: 6.078 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005041/0.1813, allocations: 0.6173 MB / 0.6567 GB, free: 5.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.1829, allocations: 1.502 MB / 0.6582 GB, free: 3.949 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1829, allocations: 0 / 0.6582 GB, free: 3.949 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1829, allocations: 0 / 0.6582 GB, free: 3.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.1829, allocations: 0 / 0.6582 GB, free: 3.949 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.008041/0.191, allocations: 2.536 MB / 0.6607 GB, free: 1.359 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.191, allocations: 12.03 kB / 0.6607 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004957/0.196, allocations: 0.7826 MB / 0.6615 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.1973, allocations: 0.7567 MB / 0.6622 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002986/0.1976, allocations: 260.2 kB / 0.6624 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.1978, allocations: 80 kB / 0.6625 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002321/0.2001, allocations: 1.069 MB / 0.6636 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.2001, allocations: 7.938 kB / 0.6636 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.2002, allocations: 32 kB / 0.6636 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2003, allocations: 16 kB / 0.6636 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002495/0.2028, allocations: 1.12 MB / 0.6647 GB, free: 13.13 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.006355/0.2091, allocations: 3.42 MB / 0.6681 GB, free: 9.555 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.2114, allocations: 1.411 MB / 0.6694 GB, free: 8.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.2131, allocations: 0.7695 MB / 0.6702 GB, free: 7.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001039/0.2132, allocations: 17 kB / 0.6702 GB, free: 7.234 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.2132, allocations: 47.55 kB / 0.6702 GB, free: 7.18 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.167e-06/0.2133, allocations: 0 / 0.6702 GB, free: 7.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=96): time 0.02736/0.2406, allocations: 6.742 MB / 0.6768 GB, free: 412 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2407, allocations: 64.41 kB / 0.6769 GB, free: 336 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.2422, allocations: 0.8954 MB / 0.6778 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002263/0.2424, allocations: 37.7 kB / 0.6778 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.2429, allocations: 0.4889 MB / 0.6783 GB, free: 14.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004594/0.2433, allocations: 343.1 kB / 0.6786 GB, free: 14.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005/0.2439, allocations: 190.8 kB / 0.6788 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.244, allocations: 349.9 kB / 0.6791 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.2458, allocations: 0.7092 MB / 0.6798 GB, free: 13.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001839/0.2476, allocations: 0.8423 MB / 0.6806 GB, free: 12.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01933/0.267, allocations: 4.779 MB / 0.6853 GB, free: 7.598 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.267, allocations: 7.938 kB / 0.6853 GB, free: 7.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0149/0.2819, allocations: 4.253 MB / 0.6895 GB, free: 3.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.282, allocations: 8 kB / 0.6895 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.2821, allocations: 0 / 0.6895 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006566/0.2886, allocations: 1.87 MB / 0.6913 GB, free: 1.438 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.2898, allocations: 203.8 kB / 0.6915 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.3124, allocations: 9.092 MB / 0.7004 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/0.3142, allocations: 170.9 kB / 0.7005 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.3144, allocations: 43.98 kB / 0.7006 GB, free: 7.789 MB / 0.4981 GB 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.0007713/0.3152, allocations: 249.6 kB / 0.7008 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003985/0.3156, allocations: 118.5 kB / 0.7009 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.3291, allocations: 4.002 MB / 0.7048 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.3292, allocations: 8 kB / 0.7048 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3292, allocations: 3.938 kB / 0.7049 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/0.3292, allocations: 7.969 kB / 0.7049 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.3457, allocations: 5.614 MB / 0.7103 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/0.3458, allocations: 0 / 0.7103 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008288/0.3466, allocations: 127.8 kB / 0.7105 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006254/0.3529, allocations: 1.741 MB / 0.7122 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002404/0.3532, allocations: 19.98 kB / 0.7122 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01975/0.3729, allocations: 8.068 MB / 0.7201 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.373, allocations: 0 / 0.7201 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01588/0.3889, allocations: 4.968 MB / 0.7249 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.3893, allocations: 203.4 kB / 0.7251 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.3896, allocations: 19.98 kB / 0.7251 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.3909, allocations: 107.9 kB / 0.7252 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007771/0.3917, allocations: 220.6 kB / 0.7254 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.3918, allocations: 23.94 kB / 0.7255 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008651/0.3927, allocations: 0.5965 MB / 0.726 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.3927, allocations: 0 / 0.726 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001575/0.3943, allocations: 431.5 kB / 0.7265 GB, free: 12.92 MB / 0.5294 GB 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.0003629/0.3946, allocations: 135.1 kB / 0.7266 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00731/0.402, allocations: 2.472 MB / 0.729 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.402, allocations: 0 / 0.729 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005067/0.4071, allocations: 1.593 MB / 0.7306 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.4081, allocations: 86.55 kB / 0.7306 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.4124, allocations: 1.972 MB / 0.7326 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.4132, allocations: 1.088 MB / 0.7336 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.4136, allocations: 67.42 kB / 0.7337 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.4136, allocations: 0 / 0.7337 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.03081/0.4444, allocations: 20.01 MB / 0.7532 GB, free: 1.379 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)