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.001286/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.377/1.377, allocations: 222.9 MB / 238.8 MB, free: 4.676 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.002289/0.00229, allocations: 180.5 kB / 289.1 MB, free: 2.434 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4579/0.4579, allocations: 78.52 MB / 417.8 MB, free: 3.355 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.88 kB / 496.9 MB, free: 6.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 68.18 MB / 0.5518 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2822/0.4283, allocations: 6.694 MB / 0.5583 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.4324, allocations: 1.907 MB / 0.5602 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009647/0.4334, allocations: 16.34 kB / 0.5602 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.434, allocations: 167 kB / 0.5604 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.4357, allocations: 0.6292 MB / 0.561 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.437, allocations: 0.5658 MB / 0.5615 GB, free: 35.14 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.4384, allocations: 1.328 MB / 0.5628 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004152/0.4388, allocations: 287.2 kB / 0.5631 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005835/0.4394, allocations: 0.5457 MB / 0.5636 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005811/0.44, allocations: 0.691 MB / 0.5643 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4401, allocations: 62.88 kB / 0.5644 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000443/0.4406, allocations: 200.2 kB / 0.5646 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.4408, allocations: 238.9 kB / 0.5648 GB, free: 34.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004142/0.4412, allocations: 0.5842 MB / 0.5654 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.4423, allocations: 1.443 MB / 0.5668 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4423, allocations: 0.75 kB / 0.5668 GB, free: 34.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.4423, allocations: 1.438 kB / 0.5668 GB, free: 34.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.4423, allocations: 2.656 kB / 0.5668 GB, free: 34.04 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.007447/0.4498, allocations: 2.543 MB / 0.5693 GB, free: 33.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.122e-05/0.4498, allocations: 11.53 kB / 0.5693 GB, free: 33.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.45, allocations: 130.2 kB / 0.5694 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004854/0.4548, allocations: 0.773 MB / 0.5702 GB, free: 33.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4562, allocations: 0.7664 MB / 0.5709 GB, free: 32.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002923/0.4566, allocations: 259.2 kB / 0.5711 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.4567, allocations: 73.97 kB / 0.5712 GB, free: 32.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.459, allocations: 1.085 MB / 0.5723 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4591, allocations: 0 / 0.5723 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.24e-05/0.4591, allocations: 30.44 kB / 0.5723 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.4592, allocations: 18.25 kB / 0.5723 GB, free: 32.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002278/0.4615, allocations: 1.115 MB / 0.5734 GB, free: 32.33 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.005703/0.4672, allocations: 3.439 MB / 0.5768 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001811/0.469, allocations: 1.412 MB / 0.5782 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4703, allocations: 0.7877 MB / 0.5789 GB, free: 30.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.4705, allocations: 19.55 kB / 0.5789 GB, free: 30.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.4705, allocations: 42.06 kB / 0.579 GB, free: 30.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.787e-06/0.4705, allocations: 0 / 0.579 GB, free: 30.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02582/0.4963, allocations: 6.749 MB / 0.5856 GB, free: 28.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.4964, allocations: 65.16 kB / 0.5856 GB, free: 28.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.4981, allocations: 0.8771 MB / 0.5865 GB, free: 28.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002741/0.4984, allocations: 41.33 kB / 0.5865 GB, free: 28.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.4988, allocations: 0.489 MB / 0.587 GB, free: 28 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/0.4994, allocations: 342.3 kB / 0.5873 GB, free: 27.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006745/0.5, allocations: 197.3 kB / 0.5875 GB, free: 27.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.681e-05/0.5002, allocations: 355.2 kB / 0.5879 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.5019, allocations: 0.7056 MB / 0.5885 GB, free: 27.06 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002012/0.5039, allocations: 0.8438 MB / 0.5894 GB, free: 26.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02015/0.5241, allocations: 4.778 MB / 0.594 GB, free: 25.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.5242, allocations: 0 / 0.594 GB, free: 25.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0161/0.5403, allocations: 4.256 MB / 0.5982 GB, free: 24.37 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.5404, allocations: 5.625 kB / 0.5982 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.5404, allocations: 5.094 kB / 0.5982 GB, free: 24.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007173/0.5476, allocations: 1.866 MB / 0.6 GB, free: 24.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.549, allocations: 208.1 kB / 0.6002 GB, free: 24.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/0.5707, allocations: 8.354 MB / 0.6084 GB, free: 19.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.5724, allocations: 178.8 kB / 0.6086 GB, free: 19.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002788/0.5727, allocations: 40.39 kB / 0.6086 GB, free: 19.76 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.0007412/0.5735, allocations: 236.7 kB / 0.6088 GB, free: 19.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003957/0.5739, allocations: 123.2 kB / 0.6089 GB, free: 19.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.586, allocations: 4.01 MB / 0.6129 GB, free: 16.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5861, allocations: 12 kB / 0.6129 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.5861, allocations: 0 / 0.6129 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.328e-05/0.5861, allocations: 3.984 kB / 0.6129 GB, free: 16.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/0.5997, allocations: 5.618 MB / 0.6184 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/0.5998, allocations: 0.8125 kB / 0.6184 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/0.6006, allocations: 131.8 kB / 0.6185 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005262/0.6058, allocations: 1.741 MB / 0.6202 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.6061, allocations: 20 kB / 0.6202 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/0.6215, allocations: 7.357 MB / 0.6274 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6216, allocations: 7.875 kB / 0.6274 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.6365, allocations: 4.962 MB / 0.6322 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004751/0.637, allocations: 195.5 kB / 0.6324 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004814/0.6375, allocations: 17.5 kB / 0.6324 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.639, allocations: 112.9 kB / 0.6325 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001005/0.64, allocations: 212.6 kB / 0.6327 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001806/0.6402, allocations: 27.98 kB / 0.6328 GB, free: 11.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001145/0.6414, allocations: 0.5927 MB / 0.6334 GB, free: 11.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6414, allocations: 0 / 0.6334 GB, free: 11.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002226/0.6436, allocations: 435.4 kB / 0.6338 GB, free: 10.9 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.01593/0.6596, allocations: 5.547 MB / 0.6392 GB, free: 5.316 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007165/0.6668, allocations: 2.424 MB / 0.6416 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6668, allocations: 0 / 0.6416 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004808/0.6717, allocations: 1.548 MB / 0.6431 GB, free: 1.328 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.6731, allocations: 84.36 kB / 0.6431 GB, free: 1.246 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.042/0.7151, allocations: 16.08 MB / 0.6588 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009185/0.7161, allocations: 1.092 MB / 0.6599 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000569/0.7166, allocations: 92 kB / 0.66 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007342/0.7174, allocations: 439.3 kB / 0.6604 GB, free: 15.15 MB / 478.1 MB Notification: Performance of SimCode: time 9.52e-07/0.7174, allocations: 1.969 kB / 0.6604 GB, free: 15.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/0.7741, allocations: 30.22 MB / 0.6899 GB, free: 1.316 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.7743, allocations: 227.4 kB / 0.6902 GB, free: 1.062 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.435, allocations: 6.75 kB / 0.6902 GB, free: 1.059 MB / 494.1 MB (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)