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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007203/0.007203, allocations: 100.5 kB / 15.73 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.269/1.269, allocations: 222.9 MB / 239.4 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.001406/0.001406, allocations: 180.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4245/0.4245, allocations: 78.53 MB / 418.4 MB, free: 3.156 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 76.09 kB / 0.5531 GB, free: 1.488 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3299, allocations: 68.17 MB / 0.6197 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.00539/0.3353, allocations: 5.749 MB / 0.6253 GB, free: 4.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003261/0.3386, allocations: 1.732 MB / 0.627 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009128/0.3396, allocations: 15.94 kB / 0.627 GB, free: 2.648 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006809/0.3403, allocations: 210.2 kB / 0.6272 GB, free: 2.441 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002401/0.3427, allocations: 0.6742 MB / 0.6279 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.344, allocations: 0.5654 MB / 0.6284 GB, free: 1.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001554/0.3456, allocations: 1.241 MB / 0.6297 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005134/0.3461, allocations: 281.3 kB / 0.6299 GB, free: 15.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008923/0.347, allocations: 0.5251 MB / 0.6304 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.3481, allocations: 0.6455 MB / 0.6311 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.3485, allocations: 88 kB / 0.6311 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007709/0.3493, allocations: 223.9 kB / 0.6314 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003473/0.3496, allocations: 242.9 kB / 0.6316 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008291/0.3505, allocations: 0.5476 MB / 0.6321 GB, free: 13.41 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3525, allocations: 1.351 MB / 0.6334 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.3525, allocations: 0 / 0.6334 GB, free: 12.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3525, allocations: 0 / 0.6334 GB, free: 12.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.951e-05/0.3526, allocations: 0 / 0.6334 GB, free: 12.05 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.008057/0.3606, allocations: 2.349 MB / 0.6357 GB, free: 9.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3607, allocations: 11.97 kB / 0.6358 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002024/0.3609, allocations: 126.4 kB / 0.6359 GB, free: 9.504 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.3658, allocations: 0.7556 MB / 0.6366 GB, free: 8.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.3671, allocations: 0.7127 MB / 0.6373 GB, free: 7.988 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002913/0.3674, allocations: 252.2 kB / 0.6375 GB, free: 7.707 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.3676, allocations: 72 kB / 0.6376 GB, free: 7.637 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3698, allocations: 0.9559 MB / 0.6386 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3698, allocations: 0 / 0.6386 GB, free: 6.676 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.127e-05/0.3699, allocations: 24 kB / 0.6386 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.3699, allocations: 16 kB / 0.6386 GB, free: 6.637 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.3721, allocations: 0.9799 MB / 0.6395 GB, free: 5.652 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.005475/0.3776, allocations: 3.154 MB / 0.6426 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.3797, allocations: 1.311 MB / 0.6439 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00142/0.3811, allocations: 0.6944 MB / 0.6446 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.3812, allocations: 8.656 kB / 0.6446 GB, free: 216 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3813, allocations: 43.22 kB / 0.6446 GB, free: 164 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.3813, allocations: 0 / 0.6446 GB, free: 164 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02723/0.4085, allocations: 6.759 MB / 0.6512 GB, free: 9.363 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/0.4086, allocations: 68 kB / 0.6513 GB, free: 9.285 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.4098, allocations: 0.7986 MB / 0.6521 GB, free: 8.461 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001634/0.4099, allocations: 41.7 kB / 0.6521 GB, free: 8.414 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000318/0.4103, allocations: 432.4 kB / 0.6525 GB, free: 7.984 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.4106, allocations: 299.8 kB / 0.6528 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/0.411, allocations: 178.9 kB / 0.653 GB, free: 7.504 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4112, allocations: 345.9 kB / 0.6533 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00144/0.4126, allocations: 0.6506 MB / 0.654 GB, free: 6.512 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4142, allocations: 0.7718 MB / 0.6547 GB, free: 5.707 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/0.4318, allocations: 4.508 MB / 0.6591 GB, free: 1.168 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.4318, allocations: 0 / 0.6591 GB, free: 1.168 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01357/0.4454, allocations: 4.11 MB / 0.6631 GB, free: 13.04 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4455, allocations: 8 kB / 0.6631 GB, free: 13.03 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4455, allocations: 8 kB / 0.6631 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.4518, allocations: 1.791 MB / 0.6649 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.4526, allocations: 171.7 kB / 0.665 GB, free: 11.06 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/0.475, allocations: 9.326 MB / 0.6742 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.4764, allocations: 151 kB / 0.6743 GB, free: 1.434 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/0.4766, allocations: 32 kB / 0.6743 GB, free: 1.402 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.0005341/0.4771, allocations: 236.1 kB / 0.6746 GB, free: 1.164 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.4774, allocations: 98.78 kB / 0.6747 GB, free: 1.066 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01288/0.4903, allocations: 3.836 MB / 0.6784 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.4903, allocations: 8 kB / 0.6784 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4903, allocations: 0 / 0.6784 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4903, allocations: 11.98 kB / 0.6784 GB, free: 13.19 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01453/0.5049, allocations: 5.341 MB / 0.6836 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/0.5049, allocations: 0 / 0.6836 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005253/0.5055, allocations: 91.83 kB / 0.6837 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006042/0.5115, allocations: 1.745 MB / 0.6854 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.5117, allocations: 15.98 kB / 0.6854 GB, free: 5.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01869/0.5304, allocations: 8.056 MB / 0.6933 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5304, allocations: 3.938 kB / 0.6933 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/0.5451, allocations: 4.712 MB / 0.6979 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003616/0.5455, allocations: 183.7 kB / 0.6981 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002352/0.5458, allocations: 16 kB / 0.6981 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5468, allocations: 95.89 kB / 0.6982 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006699/0.5475, allocations: 204.8 kB / 0.6984 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.201e-05/0.5476, allocations: 19.98 kB / 0.6984 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007221/0.5484, allocations: 0.5382 MB / 0.6989 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5484, allocations: 3.938 kB / 0.6989 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001229/0.5496, allocations: 407.6 kB / 0.6993 GB, free: 7.426 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.01524/0.5649, allocations: 5.292 MB / 0.7045 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006748/0.5716, allocations: 2.318 MB / 0.7068 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.5717, allocations: 0 / 0.7068 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004716/0.5764, allocations: 1.508 MB / 0.7082 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008556/0.5773, allocations: 75.28 kB / 0.7083 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03567/0.613, allocations: 14.15 MB / 0.7221 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.6136, allocations: 1.033 MB / 0.7231 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003278/0.6139, allocations: 74.19 kB / 0.7232 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000501/0.6144, allocations: 367.3 kB / 0.7236 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.6145, allocations: 4 kB / 0.7236 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.6749, allocations: 32.42 MB / 0.7552 GB, free: 14 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.6, allocations: 10 kB / 0.7552 GB, free: 14 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)