Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09139/0.09139, allocations: 12.2 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 120.4 kB / 30.95 MB, free: 4.664 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.1 MB / 239.4 MB, free: 10.93 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 192.5 kB / 289.6 MB, free: 15.86 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4497/0.4497, allocations: 78.51 MB / 418.1 MB, free: 31.74 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002867/0.002868, allocations: 131.8 kB / 498.5 MB, free: 440 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.4006, allocations: 68.03 MB / 0.5533 GB, free: 37.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005963/0.4066, allocations: 5.57 MB / 0.5587 GB, free: 33.53 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.4089, allocations: 1.626 MB / 0.5603 GB, free: 32.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002808/0.4092, allocations: 7.844 kB / 0.5603 GB, free: 32.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.4096, allocations: 135.9 kB / 0.5604 GB, free: 32.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.4108, allocations: 0.5653 MB / 0.561 GB, free: 31.95 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007789/0.4116, allocations: 471.2 kB / 0.5614 GB, free: 31.69 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007993/0.4124, allocations: 1.086 MB / 0.5625 GB, free: 31.14 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.4128, allocations: 267.1 kB / 0.5627 GB, free: 31.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.4131, allocations: 466.7 kB / 0.5632 GB, free: 30.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.4137, allocations: 0.5953 MB / 0.5638 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.4138, allocations: 83.19 kB / 0.5638 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.4141, allocations: 211.8 kB / 0.564 GB, free: 30.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001805/0.4143, allocations: 238.4 kB / 0.5643 GB, free: 30.31 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003455/0.4146, allocations: 498.9 kB / 0.5648 GB, free: 29.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008861/0.4155, allocations: 1.212 MB / 0.5659 GB, free: 29.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4155, allocations: 0 / 0.5659 GB, free: 29.42 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4156, allocations: 2.969 kB / 0.5659 GB, free: 29.42 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.4156, allocations: 3.938 kB / 0.5659 GB, free: 29.42 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.00596/0.4215, allocations: 2.133 MB / 0.568 GB, free: 28.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.4216, allocations: 11.83 kB / 0.568 GB, free: 28.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.4218, allocations: 109.5 kB / 0.5681 GB, free: 28.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003728/0.4255, allocations: 0.6433 MB / 0.5688 GB, free: 28.19 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008233/0.4263, allocations: 0.6524 MB / 0.5694 GB, free: 27.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.4265, allocations: 174.3 kB / 0.5696 GB, free: 27.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4266, allocations: 66.62 kB / 0.5696 GB, free: 27.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.4283, allocations: 0.853 MB / 0.5705 GB, free: 27.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.4283, allocations: 0 / 0.5705 GB, free: 27.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-05/0.4284, allocations: 25.59 kB / 0.5705 GB, free: 27.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4284, allocations: 22.44 kB / 0.5705 GB, free: 27.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001707/0.4302, allocations: 0.8862 MB / 0.5714 GB, free: 26.93 MB / 414.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.003737/0.4339, allocations: 2.417 MB / 0.5737 GB, free: 25.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.4354, allocations: 1.024 MB / 0.5747 GB, free: 24.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.4365, allocations: 0.6315 MB / 0.5754 GB, free: 24.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.651e-05/0.4366, allocations: 22.47 kB / 0.5754 GB, free: 24.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.4367, allocations: 39.16 kB / 0.5754 GB, free: 24.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=76): time 1.854e-06/0.4367, allocations: 3.938 kB / 0.5754 GB, free: 24.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=76): time 0.02345/0.4601, allocations: 5.542 MB / 0.5808 GB, free: 23.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4602, allocations: 60.06 kB / 0.5809 GB, free: 23.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.4615, allocations: 0.7631 MB / 0.5816 GB, free: 23.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.4616, allocations: 40.42 kB / 0.5817 GB, free: 23.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003496/0.462, allocations: 399.9 kB / 0.5821 GB, free: 22.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.4623, allocations: 278 kB / 0.5823 GB, free: 22.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/0.4627, allocations: 172.7 kB / 0.5825 GB, free: 22.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.4628, allocations: 345.8 kB / 0.5828 GB, free: 22.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/0.4644, allocations: 0.6025 MB / 0.5834 GB, free: 22.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.466, allocations: 0.7098 MB / 0.5841 GB, free: 21.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003016/0.469, allocations: 1.313 MB / 0.5854 GB, free: 21.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.469, allocations: 0 / 0.5854 GB, free: 21.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01147/0.4805, allocations: 3.487 MB / 0.5888 GB, free: 19.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.079e-05/0.4806, allocations: 5.469 kB / 0.5888 GB, free: 19.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.4806, allocations: 2.594 kB / 0.5888 GB, free: 19.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005428/0.486, allocations: 1.459 MB / 0.5902 GB, free: 18.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.4869, allocations: 173.7 kB / 0.5904 GB, free: 18.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/0.5039, allocations: 7.808 MB / 0.598 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5053, allocations: 143 kB / 0.5981 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.501e-05/0.5054, allocations: 35.98 kB / 0.5982 GB, free: 12.38 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004745/0.5059, allocations: 225.6 kB / 0.5984 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.5061, allocations: 90.88 kB / 0.5985 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009074/0.5151, allocations: 3.219 MB / 0.6016 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.5152, allocations: 8 kB / 0.6016 GB, free: 8.816 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5152, allocations: 3.938 kB / 0.6016 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.5152, allocations: 7.984 kB / 0.6016 GB, free: 8.805 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01023/0.5254, allocations: 4.551 MB / 0.6061 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.5254, allocations: 0 / 0.6061 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.5259, allocations: 99.86 kB / 0.6062 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004034/0.53, allocations: 1.403 MB / 0.6076 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.972e-05/0.5301, allocations: 12 kB / 0.6076 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01389/0.544, allocations: 6.74 MB / 0.6141 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.544, allocations: 0 / 0.6141 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.5558, allocations: 4.045 MB / 0.6181 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/0.5562, allocations: 179.7 kB / 0.6183 GB, free: 7.473 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5563, allocations: 16 kB / 0.6183 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/0.5572, allocations: 79.91 kB / 0.6184 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005345/0.5577, allocations: 164.4 kB / 0.6185 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.172e-05/0.5578, allocations: 23.94 kB / 0.6185 GB, free: 7.195 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006588/0.5585, allocations: 0.5107 MB / 0.619 GB, free: 6.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5585, allocations: 0 / 0.619 GB, free: 6.688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001083/0.5595, allocations: 359.7 kB / 0.6194 GB, free: 6.336 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01212/0.5717, allocations: 4.625 MB / 0.6239 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005864/0.5776, allocations: 2.097 MB / 0.6259 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5776, allocations: 4 kB / 0.6259 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/0.5811, allocations: 1.284 MB / 0.6272 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007413/0.5819, allocations: 71.31 kB / 0.6273 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03038/0.6123, allocations: 13.39 MB / 0.6403 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007528/0.6131, allocations: 1.005 MB / 0.6413 GB, free: 15.49 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004002/0.6135, allocations: 93.47 kB / 0.6414 GB, free: 15.39 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004933/0.614, allocations: 343.3 kB / 0.6417 GB, free: 15.06 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.614, allocations: 3.938 kB / 0.6417 GB, free: 15.05 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05768/0.6717, allocations: 26.17 MB / 0.6673 GB, free: 4.945 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.672, allocations: 213.9 kB / 0.6675 GB, free: 4.691 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.401, allocations: 3.938 kB / 0.6675 GB, free: 4.688 MB / 478.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)