Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.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_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",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.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.406/1.406, allocations: 222.9 MB / 238.8 MB, free: 4.672 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.002013/0.002013, allocations: 188.5 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4712/0.4712, allocations: 78.52 MB / 417.8 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.89 kB / 496.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1595, allocations: 68.17 MB / 0.5518 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2652/0.4247, allocations: 6.769 MB / 0.5584 GB, free: 35.87 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004112/0.4289, allocations: 1.908 MB / 0.5603 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009493/0.4299, allocations: 15.16 kB / 0.5603 GB, free: 35.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006346/0.4305, allocations: 171.8 kB / 0.5604 GB, free: 35.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.4323, allocations: 0.637 MB / 0.5611 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.4334, allocations: 0.5639 MB / 0.5616 GB, free: 35.09 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.4348, allocations: 1.351 MB / 0.5629 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.4352, allocations: 286.7 kB / 0.5632 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007392/0.436, allocations: 0.5435 MB / 0.5637 GB, free: 34.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006186/0.4366, allocations: 0.7055 MB / 0.5644 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000138/0.4368, allocations: 65 kB / 0.5645 GB, free: 34.66 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/0.4372, allocations: 197.1 kB / 0.5647 GB, free: 34.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001811/0.4374, allocations: 244.5 kB / 0.5649 GB, free: 34.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004301/0.4378, allocations: 0.5937 MB / 0.5655 GB, free: 34.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.439, allocations: 1.463 MB / 0.5669 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.439, allocations: 0 / 0.5669 GB, free: 33.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.439, allocations: 0.8438 kB / 0.5669 GB, free: 33.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.439, allocations: 1.125 kB / 0.5669 GB, free: 33.98 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.008177/0.4472, allocations: 2.563 MB / 0.5694 GB, free: 33.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.622e-05/0.4473, allocations: 11.53 kB / 0.5694 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.4475, allocations: 128.7 kB / 0.5696 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004912/0.4524, allocations: 0.7715 MB / 0.5703 GB, free: 32.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.4536, allocations: 0.7779 MB / 0.5711 GB, free: 32.54 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002801/0.4539, allocations: 257.1 kB / 0.5713 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.454, allocations: 82.69 kB / 0.5714 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.4563, allocations: 1.082 MB / 0.5725 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.4563, allocations: 0 / 0.5725 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.672e-05/0.4564, allocations: 28.06 kB / 0.5725 GB, free: 32.28 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.4565, allocations: 26.31 kB / 0.5725 GB, free: 32.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.4588, allocations: 1.118 MB / 0.5736 GB, free: 32.26 MB / 430.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.005359/0.4642, allocations: 3.459 MB / 0.577 GB, free: 31.26 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.466, allocations: 1.43 MB / 0.5784 GB, free: 30.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.4674, allocations: 0.784 MB / 0.5791 GB, free: 30.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.4675, allocations: 16.81 kB / 0.5792 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4675, allocations: 42.97 kB / 0.5792 GB, free: 30 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.154e-06/0.4676, allocations: 4 kB / 0.5792 GB, free: 30 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02448/0.492, allocations: 6.608 MB / 0.5857 GB, free: 28.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4921, allocations: 63.41 kB / 0.5857 GB, free: 28.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.4935, allocations: 0.8958 MB / 0.5866 GB, free: 28.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.4937, allocations: 44.52 kB / 0.5866 GB, free: 28.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/0.494, allocations: 0.4897 MB / 0.5871 GB, free: 27.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/0.4943, allocations: 350.5 kB / 0.5874 GB, free: 27.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004054/0.4947, allocations: 205.3 kB / 0.5876 GB, free: 27.49 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.518e-05/0.4948, allocations: 347.8 kB / 0.588 GB, free: 27.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00164/0.4965, allocations: 0.7218 MB / 0.5887 GB, free: 26.92 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.4982, allocations: 0.854 MB / 0.5895 GB, free: 26.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01928/0.5175, allocations: 4.824 MB / 0.5942 GB, free: 25.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.5175, allocations: 2.062 kB / 0.5942 GB, free: 25.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01396/0.5315, allocations: 4.266 MB / 0.5984 GB, free: 24.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.5315, allocations: 9.375 kB / 0.5984 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.5316, allocations: 3.672 kB / 0.5984 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006207/0.5378, allocations: 1.808 MB / 0.6002 GB, free: 23.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.5389, allocations: 209.9 kB / 0.6004 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01928/0.5582, allocations: 8.575 MB / 0.6087 GB, free: 19.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5597, allocations: 177.2 kB / 0.6089 GB, free: 19.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.5598, allocations: 40.42 kB / 0.6089 GB, free: 19.51 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_Inputs_Outputs1.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 (111): * Single equations (assignments): 110 * 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.0004526/0.5603, allocations: 249.2 kB / 0.6092 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.5605, allocations: 122.9 kB / 0.6093 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.5724, allocations: 4.006 MB / 0.6132 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.996e-06/0.5725, allocations: 12 kB / 0.6132 GB, free: 16.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.5725, allocations: 11.88 kB / 0.6132 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5725, allocations: 3.984 kB / 0.6132 GB, free: 16.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/0.5853, allocations: 5.616 MB / 0.6187 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.5853, allocations: 3.938 kB / 0.6187 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/0.586, allocations: 131.8 kB / 0.6189 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005052/0.591, allocations: 1.745 MB / 0.6206 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.5912, allocations: 16 kB / 0.6206 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.6058, allocations: 7.357 MB / 0.6278 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6058, allocations: 3.938 kB / 0.6278 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/0.6205, allocations: 4.958 MB / 0.6326 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005141/0.621, allocations: 199.4 kB / 0.6328 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.6212, allocations: 22.61 kB / 0.6328 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.6222, allocations: 116.4 kB / 0.6329 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008185/0.6231, allocations: 216.5 kB / 0.6331 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-05/0.6232, allocations: 24 kB / 0.6332 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008114/0.624, allocations: 0.6047 MB / 0.6337 GB, free: 10.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.624, allocations: 0 / 0.6337 GB, free: 10.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001399/0.6254, allocations: 443.4 kB / 0.6342 GB, free: 10.47 MB / 446.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 (64): * Single equations (assignments): 63 * 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.01539/0.6408, allocations: 5.535 MB / 0.6396 GB, free: 4.902 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007067/0.6479, allocations: 2.458 MB / 0.642 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6479, allocations: 0 / 0.642 GB, free: 2.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004804/0.6528, allocations: 1.556 MB / 0.6435 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009613/0.6537, allocations: 92.11 kB / 0.6436 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04181/0.6956, allocations: 16.32 MB / 0.6595 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.6963, allocations: 1.103 MB / 0.6606 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005369/0.6969, allocations: 91.41 kB / 0.6607 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.6975, allocations: 439.2 kB / 0.6611 GB, free: 14.45 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.6975, allocations: 3.938 kB / 0.6611 GB, free: 14.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05861/0.7561, allocations: 30.7 MB / 0.6911 GB, free: 128 kB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.7564, allocations: 222.8 kB / 0.6913 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.594, allocations: 0 / 0.6913 GB, free: 15.88 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)