Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 105 kB / 16.41 MB, free: 5.977 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.386/1.386, allocations: 222.9 MB / 240.1 MB, free: 4.52 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.001558/0.001558, allocations: 192.4 kB / 290.4 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4812/0.4812, allocations: 78.53 MB / 419.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 87.88 kB / 0.5543 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3334, allocations: 68.17 MB / 0.6209 GB, free: 9.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005066/0.3385, allocations: 5.74 MB / 0.6265 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.3417, allocations: 1.736 MB / 0.6282 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006984/0.3424, allocations: 8 kB / 0.6282 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004851/0.3429, allocations: 210.2 kB / 0.6284 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.3444, allocations: 0.6821 MB / 0.629 GB, free: 1.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3455, allocations: 0.5652 MB / 0.6296 GB, free: 1.262 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.3467, allocations: 1.245 MB / 0.6308 GB, free: 12 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004708/0.3471, allocations: 275.1 kB / 0.6311 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.3479, allocations: 0.5251 MB / 0.6316 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000758/0.3487, allocations: 0.6416 MB / 0.6322 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.3489, allocations: 88 kB / 0.6323 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.3494, allocations: 223.9 kB / 0.6325 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001955/0.3496, allocations: 250.8 kB / 0.6327 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004641/0.35, allocations: 0.5476 MB / 0.6333 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3515, allocations: 1.348 MB / 0.6346 GB, free: 12.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3515, allocations: 0 / 0.6346 GB, free: 12.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3515, allocations: 0 / 0.6346 GB, free: 12.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.309e-05/0.3515, allocations: 4 kB / 0.6346 GB, free: 12.11 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.008134/0.3597, allocations: 2.349 MB / 0.6369 GB, free: 9.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3598, allocations: 12.03 kB / 0.6369 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005305/0.3651, allocations: 0.7595 MB / 0.6376 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.3665, allocations: 0.7127 MB / 0.6383 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.3668, allocations: 248.2 kB / 0.6386 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.367, allocations: 68 kB / 0.6386 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.3692, allocations: 0.956 MB / 0.6396 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.3693, allocations: 7.875 kB / 0.6396 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.48e-05/0.3694, allocations: 28 kB / 0.6396 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.3694, allocations: 16 kB / 0.6396 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/0.3716, allocations: 0.9759 MB / 0.6406 GB, free: 5.832 MB / 446.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.005947/0.3776, allocations: 3.15 MB / 0.6437 GB, free: 2.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.3797, allocations: 1.308 MB / 0.6449 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.3813, allocations: 0.6983 MB / 0.6456 GB, free: 412 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.484e-05/0.3814, allocations: 12.64 kB / 0.6456 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3814, allocations: 43.22 kB / 0.6457 GB, free: 348 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 3.296e-06/0.3814, allocations: 0 / 0.6457 GB, free: 348 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02904/0.4105, allocations: 6.763 MB / 0.6523 GB, free: 9.539 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.4106, allocations: 60.06 kB / 0.6523 GB, free: 9.469 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4117, allocations: 0.8064 MB / 0.6531 GB, free: 8.637 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.4119, allocations: 41.7 kB / 0.6532 GB, free: 8.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.4122, allocations: 436.4 kB / 0.6536 GB, free: 8.156 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003544/0.4126, allocations: 291.8 kB / 0.6539 GB, free: 7.867 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.413, allocations: 182.9 kB / 0.654 GB, free: 7.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4131, allocations: 341.9 kB / 0.6544 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.4146, allocations: 0.6506 MB / 0.655 GB, free: 6.691 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.4163, allocations: 0.7795 MB / 0.6557 GB, free: 5.879 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01867/0.435, allocations: 4.496 MB / 0.6601 GB, free: 1.352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.435, allocations: 0 / 0.6601 GB, free: 1.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01418/0.4492, allocations: 4.121 MB / 0.6642 GB, free: 13.21 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.4493, allocations: 4 kB / 0.6642 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.4493, allocations: 4 kB / 0.6642 GB, free: 13.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006652/0.456, allocations: 1.783 MB / 0.6659 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000905/0.4569, allocations: 171.7 kB / 0.6661 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02382/0.4807, allocations: 9.328 MB / 0.6752 GB, free: 1.766 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4823, allocations: 155 kB / 0.6753 GB, free: 1.613 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.4825, allocations: 35.98 kB / 0.6754 GB, free: 1.578 MB / 478.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0005896/0.4831, allocations: 221.6 kB / 0.6756 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002867/0.4834, allocations: 102.8 kB / 0.6757 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.4973, allocations: 3.833 MB / 0.6794 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.4973, allocations: 8 kB / 0.6794 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4973, allocations: 0 / 0.6794 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-05/0.4974, allocations: 7.984 kB / 0.6794 GB, free: 13.38 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/0.5137, allocations: 5.357 MB / 0.6847 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.5138, allocations: 0 / 0.6847 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005854/0.5144, allocations: 87.89 kB / 0.6848 GB, free: 7.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006487/0.5209, allocations: 1.749 MB / 0.6865 GB, free: 6.047 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/0.5212, allocations: 16 kB / 0.6865 GB, free: 6.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02032/0.5415, allocations: 8.052 MB / 0.6943 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.5415, allocations: 3.938 kB / 0.6943 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01566/0.5572, allocations: 4.72 MB / 0.699 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.5576, allocations: 187.7 kB / 0.6991 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/0.558, allocations: 20 kB / 0.6991 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.5592, allocations: 83.89 kB / 0.6992 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007707/0.56, allocations: 200.7 kB / 0.6994 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.5602, allocations: 20 kB / 0.6994 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008582/0.561, allocations: 0.5421 MB / 0.7 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.561, allocations: 0 / 0.7 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001554/0.5626, allocations: 403.6 kB / 0.7004 GB, free: 7.613 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.0003511/0.563, allocations: 127.2 kB / 0.7005 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007152/0.5701, allocations: 2.339 MB / 0.7028 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.5702, allocations: 0 / 0.7028 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005234/0.5754, allocations: 1.492 MB / 0.7042 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5765, allocations: 85.14 kB / 0.7043 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004057/0.5806, allocations: 1.763 MB / 0.706 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008632/0.5815, allocations: 1.029 MB / 0.707 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.5818, allocations: 63.42 kB / 0.7071 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.5819, allocations: 0 / 0.7071 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of Templates: time 0.02952/0.6114, allocations: 17.86 MB / 0.7245 GB, free: 14.75 MB / 0.5294 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)