Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_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.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.001336/0.001336, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.282/1.282, allocations: 222.9 MB / 239 MB, free: 4.738 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.001506/0.001507, allocations: 196.4 kB / 289.2 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4769/0.4769, allocations: 78.52 MB / 417.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.89 kB / 497 MB, free: 6.605 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1243, allocations: 68.17 MB / 0.552 GB, free: 2.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2098/0.3341, allocations: 6.714 MB / 0.5585 GB, free: 35.89 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003086/0.3373, allocations: 1.884 MB / 0.5604 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004642/0.3378, allocations: 12.34 kB / 0.5604 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000473/0.3382, allocations: 178.5 kB / 0.5605 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001373/0.3397, allocations: 0.6209 MB / 0.5611 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3407, allocations: 0.5574 MB / 0.5617 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00108/0.3418, allocations: 1.393 MB / 0.563 GB, free: 35.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003696/0.3422, allocations: 322.5 kB / 0.5634 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.3427, allocations: 0.5847 MB / 0.5639 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005121/0.3432, allocations: 0.7256 MB / 0.5646 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.3433, allocations: 100.8 kB / 0.5647 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/0.3437, allocations: 235 kB / 0.565 GB, free: 34.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.3439, allocations: 275.7 kB / 0.5652 GB, free: 34.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003414/0.3442, allocations: 0.6252 MB / 0.5658 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.3453, allocations: 1.484 MB / 0.5673 GB, free: 34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3453, allocations: 0 / 0.5673 GB, free: 34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3453, allocations: 3.938 kB / 0.5673 GB, free: 34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.3453, allocations: 4.719 kB / 0.5673 GB, free: 34 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006729/0.352, allocations: 2.536 MB / 0.5698 GB, free: 33.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3521, allocations: 11.5 kB / 0.5698 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001292/0.3522, allocations: 127.2 kB / 0.5699 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004518/0.3567, allocations: 0.7797 MB / 0.5707 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.3576, allocations: 0.7591 MB / 0.5714 GB, free: 32.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/0.3579, allocations: 256.9 kB / 0.5716 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.358, allocations: 80.88 kB / 0.5717 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/0.3601, allocations: 1.074 MB / 0.5728 GB, free: 32.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.3601, allocations: 5.062 kB / 0.5728 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.467e-05/0.3602, allocations: 30.75 kB / 0.5728 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.3602, allocations: 18.94 kB / 0.5728 GB, free: 32.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002349/0.3626, allocations: 1.118 MB / 0.5739 GB, free: 32.3 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.004774/0.3674, allocations: 3.449 MB / 0.5773 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001734/0.3691, allocations: 1.415 MB / 0.5787 GB, free: 30.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.3704, allocations: 0.7742 MB / 0.5794 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.3706, allocations: 17.22 kB / 0.5794 GB, free: 29.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.3706, allocations: 40.62 kB / 0.5795 GB, free: 29.89 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.776e-06/0.3706, allocations: 0 / 0.5795 GB, free: 29.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02464/0.3953, allocations: 6.752 MB / 0.5861 GB, free: 28.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3953, allocations: 62.62 kB / 0.5861 GB, free: 28.56 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.3964, allocations: 0.8832 MB / 0.587 GB, free: 28.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001943/0.3966, allocations: 41.08 kB / 0.587 GB, free: 28.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.3969, allocations: 496.7 kB / 0.5875 GB, free: 27.75 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/0.3972, allocations: 342.7 kB / 0.5878 GB, free: 27.48 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003698/0.3975, allocations: 195.7 kB / 0.588 GB, free: 27.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.166e-05/0.3976, allocations: 346.7 kB / 0.5883 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001542/0.3992, allocations: 0.7171 MB / 0.589 GB, free: 26.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4008, allocations: 0.8436 MB / 0.5899 GB, free: 26.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/0.4189, allocations: 4.784 MB / 0.5945 GB, free: 25.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.419, allocations: 1.312 kB / 0.5945 GB, free: 25.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01324/0.4322, allocations: 4.259 MB / 0.5987 GB, free: 24.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.4323, allocations: 5.766 kB / 0.5987 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4323, allocations: 2.969 kB / 0.5987 GB, free: 24.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006105/0.4384, allocations: 1.866 MB / 0.6005 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.4395, allocations: 215.2 kB / 0.6007 GB, free: 23.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01954/0.459, allocations: 9.093 MB / 0.6096 GB, free: 19.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4606, allocations: 175.3 kB / 0.6098 GB, free: 19.04 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.4607, allocations: 42.23 kB / 0.6098 GB, free: 19.02 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_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 (108): * Single equations (assignments): 107 * 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 prepare postOptimizeDAE: time 0.0004343/0.4611, allocations: 240 kB / 0.6101 GB, free: 18.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.4613, allocations: 120.7 kB / 0.6102 GB, free: 18.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.4726, allocations: 4.004 MB / 0.6141 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.4726, allocations: 8 kB / 0.6141 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4727, allocations: 7.922 kB / 0.6141 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.889e-05/0.4727, allocations: 8.953 kB / 0.6141 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.4854, allocations: 5.614 MB / 0.6196 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.4854, allocations: 0 / 0.6196 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006757/0.4861, allocations: 135.7 kB / 0.6197 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005063/0.4912, allocations: 1.749 MB / 0.6214 GB, free: 7.766 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.4913, allocations: 19.98 kB / 0.6214 GB, free: 7.746 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.5071, allocations: 8.075 MB / 0.6293 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5071, allocations: 4 kB / 0.6293 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01446/0.5216, allocations: 4.962 MB / 0.6342 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004695/0.5221, allocations: 199.8 kB / 0.6344 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004252/0.5226, allocations: 16 kB / 0.6344 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.5239, allocations: 118 kB / 0.6345 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007737/0.5246, allocations: 216.6 kB / 0.6347 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.898e-05/0.5247, allocations: 29.3 kB / 0.6347 GB, free: 9.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006874/0.5254, allocations: 0.5887 MB / 0.6353 GB, free: 9.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5254, allocations: 0 / 0.6353 GB, free: 9.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001283/0.5267, allocations: 431.5 kB / 0.6357 GB, free: 8.926 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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.01462/0.5413, allocations: 5.554 MB / 0.6411 GB, free: 3.336 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007/0.5484, allocations: 2.495 MB / 0.6436 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5484, allocations: 0 / 0.6436 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004625/0.5531, allocations: 1.593 MB / 0.6451 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009912/0.5541, allocations: 89.53 kB / 0.6452 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03683/0.5909, allocations: 16.09 MB / 0.6609 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005579/0.5915, allocations: 1.084 MB / 0.662 GB, free: 13.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004538/0.592, allocations: 89.61 kB / 0.6621 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/0.5925, allocations: 447.3 kB / 0.6625 GB, free: 13.04 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5925, allocations: 0 / 0.6625 GB, free: 13.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.6451, allocations: 31.56 MB / 0.6933 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.6454, allocations: 233.9 kB / 0.6935 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.604/3.25, allocations: 0 / 0.6935 GB, free: 13.62 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)