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.007352/0.007352, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.362/1.362, allocations: 222.9 MB / 239.4 MB, free: 4.387 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.001289/0.001289, allocations: 192.5 kB / 289.7 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4387/0.4387, allocations: 78.54 MB / 418.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 72.17 kB / 0.5531 GB, free: 1.445 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2739, allocations: 68.18 MB / 0.6197 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004612/0.2786, allocations: 5.736 MB / 0.6253 GB, free: 4.375 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2813, allocations: 1.747 MB / 0.627 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.2819, allocations: 8 kB / 0.627 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004413/0.2824, allocations: 206.3 kB / 0.6272 GB, free: 2.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.2839, allocations: 0.7186 MB / 0.6279 GB, free: 1.695 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.2849, allocations: 0.5646 MB / 0.6285 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00112/0.2861, allocations: 1.245 MB / 0.6297 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004106/0.2865, allocations: 289.4 kB / 0.63 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006645/0.2872, allocations: 0.5134 MB / 0.6305 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007368/0.2879, allocations: 0.6533 MB / 0.6311 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.2881, allocations: 88 kB / 0.6312 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.2885, allocations: 223.9 kB / 0.6314 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.2887, allocations: 242.9 kB / 0.6316 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000479/0.2892, allocations: 0.5398 MB / 0.6322 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.2905, allocations: 1.358 MB / 0.6335 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2906, allocations: 0 / 0.6335 GB, free: 11.97 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2906, allocations: 0 / 0.6335 GB, free: 11.97 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.728e-05/0.2906, allocations: 0 / 0.6335 GB, free: 11.97 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.00742/0.298, allocations: 2.349 MB / 0.6358 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2981, allocations: 16.03 kB / 0.6358 GB, free: 9.555 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001361/0.2982, allocations: 114.5 kB / 0.6359 GB, free: 9.434 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.3032, allocations: 0.7557 MB / 0.6367 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.3044, allocations: 0.7126 MB / 0.6373 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002578/0.3047, allocations: 256.2 kB / 0.6376 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.3048, allocations: 64 kB / 0.6377 GB, free: 7.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.3068, allocations: 0.9598 MB / 0.6386 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3068, allocations: 0 / 0.6386 GB, free: 6.605 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.3069, allocations: 28 kB / 0.6386 GB, free: 6.578 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3069, allocations: 16 kB / 0.6386 GB, free: 6.562 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002066/0.309, allocations: 0.976 MB / 0.6396 GB, free: 5.582 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.005169/0.3142, allocations: 3.154 MB / 0.6427 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.3161, allocations: 1.297 MB / 0.6439 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3175, allocations: 0.7099 MB / 0.6446 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.3176, allocations: 12.64 kB / 0.6446 GB, free: 136 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3177, allocations: 39.22 kB / 0.6447 GB, free: 88 kB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.966e-06/0.3177, allocations: 0 / 0.6447 GB, free: 88 kB / 446.1 MB Notification: Performance of matching and sorting (n=82): time 0.02574/0.3434, allocations: 6.759 MB / 0.6513 GB, free: 9.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3435, allocations: 64 kB / 0.6513 GB, free: 9.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3446, allocations: 0.8026 MB / 0.6521 GB, free: 8.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001989/0.3448, allocations: 37.7 kB / 0.6522 GB, free: 8.344 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003206/0.3451, allocations: 440.4 kB / 0.6526 GB, free: 7.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00032/0.3454, allocations: 291.8 kB / 0.6529 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003613/0.3458, allocations: 182.8 kB / 0.653 GB, free: 7.43 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3459, allocations: 345.9 kB / 0.6534 GB, free: 7.086 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/0.3473, allocations: 0.6545 MB / 0.654 GB, free: 6.434 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.3488, allocations: 0.7795 MB / 0.6548 GB, free: 5.621 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01717/0.366, allocations: 4.504 MB / 0.6592 GB, free: 1.086 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.366, allocations: 0 / 0.6592 GB, free: 1.086 MB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01265/0.3787, allocations: 4.11 MB / 0.6632 GB, free: 12.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.3787, allocations: 8 kB / 0.6632 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3788, allocations: 4 kB / 0.6632 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006069/0.3848, allocations: 1.791 MB / 0.6649 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008809/0.3857, allocations: 159.8 kB / 0.6651 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02134/0.4071, allocations: 9.331 MB / 0.6742 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4085, allocations: 155 kB / 0.6743 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.4087, allocations: 32 kB / 0.6744 GB, free: 1.328 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.0005969/0.4093, allocations: 237.6 kB / 0.6746 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002712/0.4096, allocations: 98.78 kB / 0.6747 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.4214, allocations: 3.833 MB / 0.6784 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.4214, allocations: 15.88 kB / 0.6785 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.4214, allocations: 0 / 0.6785 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/0.4215, allocations: 3.984 kB / 0.6785 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.4353, allocations: 5.349 MB / 0.6837 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.4353, allocations: 4 kB / 0.6837 GB, free: 7.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.4359, allocations: 83.89 kB / 0.6838 GB, free: 7.543 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005773/0.4416, allocations: 1.749 MB / 0.6855 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001886/0.4419, allocations: 16 kB / 0.6855 GB, free: 5.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01804/0.4599, allocations: 8.056 MB / 0.6934 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.433e-06/0.46, allocations: 11.98 kB / 0.6934 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.4735, allocations: 4.712 MB / 0.698 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003374/0.4739, allocations: 187.7 kB / 0.6981 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000235/0.4742, allocations: 16 kB / 0.6982 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009437/0.4751, allocations: 87.89 kB / 0.6982 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006839/0.4758, allocations: 200.7 kB / 0.6984 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.4759, allocations: 24 kB / 0.6985 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007408/0.4767, allocations: 0.5382 MB / 0.699 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.373e-06/0.4767, allocations: 0 / 0.699 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001327/0.478, allocations: 411.5 kB / 0.6994 GB, free: 7.34 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.01387/0.4919, allocations: 5.28 MB / 0.7045 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006342/0.4983, allocations: 2.318 MB / 0.7068 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.4983, allocations: 0 / 0.7068 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004457/0.5028, allocations: 1.504 MB / 0.7083 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008428/0.5037, allocations: 84.84 kB / 0.7083 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03487/0.5385, allocations: 14.15 MB / 0.7222 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.5391, allocations: 1.025 MB / 0.7232 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.5394, allocations: 82.17 kB / 0.7233 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004592/0.5399, allocations: 367.2 kB / 0.7236 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of SimCode: time 6.51e-07/0.5399, allocations: 3.938 kB / 0.7236 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09653/0.6364, allocations: 31.08 MB / 0.754 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/15.77, allocations: 5.969 kB / 0.754 GB, free: 15.27 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)