Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001507, allocations: 169.7 kB / 16.1 MB, free: 5.688 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 223.3 MB / 240.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 88.55 kB / 291.3 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5311/0.5311, allocations: 78.61 MB / 421 MB, free: 9.113 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004048, allocations: 15.94 kB / 0.4894 GB, free: 9.254 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3707, allocations: 69.36 MB / 0.5571 GB, free: 18.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004591/0.3753, allocations: 5.64 MB / 0.5626 GB, free: 13.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003649/0.379, allocations: 1.767 MB / 0.5644 GB, free: 11.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.3802, allocations: 11.94 kB / 0.5644 GB, free: 11.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.3809, allocations: 151 kB / 0.5645 GB, free: 11.22 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.3832, allocations: 0.6087 MB / 0.5651 GB, free: 10.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3844, allocations: 0.5246 MB / 0.5656 GB, free: 10.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3856, allocations: 1.19 MB / 0.5668 GB, free: 8.895 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.3859, allocations: 239.6 kB / 0.567 GB, free: 8.648 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004303/0.3863, allocations: 477.7 kB / 0.5675 GB, free: 8.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000462/0.3868, allocations: 0.587 MB / 0.5681 GB, free: 7.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.122e-05/0.3869, allocations: 48 kB / 0.5681 GB, free: 7.543 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.3873, allocations: 179.8 kB / 0.5683 GB, free: 7.367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.3874, allocations: 199 kB / 0.5685 GB, free: 7.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.3877, allocations: 0.518 MB / 0.569 GB, free: 6.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006892/0.3884, allocations: 0.9953 MB / 0.5699 GB, free: 5.648 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.3885, allocations: 3.938 kB / 0.5699 GB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3885, allocations: 4 kB / 0.5699 GB, free: 5.641 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.3885, allocations: 0 / 0.5699 GB, free: 5.641 MB / 378.7 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.006076/0.3946, allocations: 2.189 MB / 0.5721 GB, free: 3.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3946, allocations: 16.02 kB / 0.5721 GB, free: 3.383 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/0.3991, allocations: 0.7634 MB / 0.5728 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/0.4001, allocations: 0.7049 MB / 0.5735 GB, free: 1.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.4003, allocations: 264.2 kB / 0.5738 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.4005, allocations: 67.91 kB / 0.5739 GB, free: 1.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.4022, allocations: 1.034 MB / 0.5749 GB, free: 480 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.4022, allocations: 3.938 kB / 0.5749 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.682e-05/0.4023, allocations: 24 kB / 0.5749 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.4023, allocations: 16 kB / 0.5749 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.4045, allocations: 1.062 MB / 0.5759 GB, free: 15.36 MB / 394.7 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.005325/0.4098, allocations: 3.24 MB / 0.5791 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.4119, allocations: 1.383 MB / 0.5805 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/0.4134, allocations: 0.7725 MB / 0.5812 GB, free: 9.688 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.4135, allocations: 12.66 kB / 0.5812 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4135, allocations: 39.22 kB / 0.5813 GB, free: 9.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.396e-06/0.4136, allocations: 3.938 kB / 0.5813 GB, free: 9.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.02725/0.4408, allocations: 8.427 MB / 0.5895 GB, free: 1.164 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.4409, allocations: 60.06 kB / 0.5895 GB, free: 1.094 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.4421, allocations: 0.8025 MB / 0.5903 GB, free: 272 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.4423, allocations: 41.7 kB / 0.5904 GB, free: 224 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.4426, allocations: 424.6 kB / 0.5908 GB, free: 15.79 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.443, allocations: 295.6 kB / 0.5911 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.4432, allocations: 97.66 kB / 0.5912 GB, free: 15.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4433, allocations: 345.9 kB / 0.5915 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.4449, allocations: 0.7249 MB / 0.5922 GB, free: 14.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001597/0.4465, allocations: 0.8537 MB / 0.593 GB, free: 13.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/0.4635, allocations: 4.995 MB / 0.5979 GB, free: 8.418 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.4635, allocations: 0 / 0.5979 GB, free: 8.418 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01373/0.4773, allocations: 5.035 MB / 0.6028 GB, free: 3.367 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.4773, allocations: 4 kB / 0.6028 GB, free: 3.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.4773, allocations: 4 kB / 0.6028 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006396/0.4837, allocations: 2.093 MB / 0.6049 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008827/0.4847, allocations: 171.7 kB / 0.605 GB, free: 1.094 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02097/0.5056, allocations: 9.579 MB / 0.6144 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.5071, allocations: 191 kB / 0.6146 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.869e-05/0.5072, allocations: 39.98 kB / 0.6146 GB, free: 7.148 MB / 426.7 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.000503/0.5077, allocations: 225.6 kB / 0.6148 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.5079, allocations: 106.7 kB / 0.6149 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/0.5211, allocations: 4.739 MB / 0.6196 GB, free: 2.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5211, allocations: 8 kB / 0.6196 GB, free: 2.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.5211, allocations: 4 kB / 0.6196 GB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5212, allocations: 3.984 kB / 0.6196 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.5364, allocations: 6.266 MB / 0.6257 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.5364, allocations: 4 kB / 0.6257 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.5369, allocations: 95.83 kB / 0.6258 GB, free: 11.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006086/0.543, allocations: 2.057 MB / 0.6278 GB, free: 9.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-05/0.5431, allocations: 16 kB / 0.6278 GB, free: 9.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01792/0.5611, allocations: 8.21 MB / 0.6358 GB, free: 1.109 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5611, allocations: 11.92 kB / 0.6358 GB, free: 1.098 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01527/0.5764, allocations: 5.696 MB / 0.6414 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.5769, allocations: 191.6 kB / 0.6416 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/0.5771, allocations: 16 kB / 0.6416 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.578, allocations: 131.8 kB / 0.6417 GB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/0.5787, allocations: 200.5 kB / 0.6419 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.5788, allocations: 24 kB / 0.6419 GB, free: 10.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000757/0.5796, allocations: 0.5382 MB / 0.6425 GB, free: 10.25 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5796, allocations: 0 / 0.6425 GB, free: 10.25 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001273/0.5808, allocations: 403.6 kB / 0.6428 GB, free: 9.855 MB / 458.7 MB 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.0002718/0.5811, allocations: 127.1 kB / 0.643 GB, free: 9.727 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006699/0.5878, allocations: 2.582 MB / 0.6455 GB, free: 7.129 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5879, allocations: 0 / 0.6455 GB, free: 7.129 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004639/0.5925, allocations: 1.687 MB / 0.6471 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.5933, allocations: 79.28 kB / 0.6472 GB, free: 5.352 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003689/0.597, allocations: 2.187 MB / 0.6493 GB, free: 3.141 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007419/0.5978, allocations: 1.025 MB / 0.6503 GB, free: 2.086 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.598, allocations: 63.42 kB / 0.6504 GB, free: 2.023 MB / 458.7 MB Notification: Performance of SimCode: time 3.81e-07/0.598, allocations: 0 / 0.6504 GB, free: 2.023 MB / 458.7 MB Notification: Performance of Templates: time 0.03012/0.6282, allocations: 17.65 MB / 0.6676 GB, free: 360 kB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)