Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",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.103/0.103, allocations: 12.19 MB / 27.43 MB, free: 1.379 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.001275/0.001275, allocations: 119.4 kB / 30.94 MB, free: 4.656 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.664/1.664, allocations: 205.1 MB / 239.4 MB, free: 10.91 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.00146/0.00146, allocations: 192.5 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.491/0.491, allocations: 78.5 MB / 418.1 MB, free: 31.73 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.002487/0.002487, allocations: 131.8 kB / 498.5 MB, free: 416 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3739, allocations: 68.03 MB / 0.5533 GB, free: 37.8 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005701/0.3796, allocations: 6.76 MB / 0.5599 GB, free: 32.87 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.3832, allocations: 1.859 MB / 0.5617 GB, free: 31.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008439/0.3841, allocations: 17.75 kB / 0.5617 GB, free: 31.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005456/0.3846, allocations: 165.2 kB / 0.5618 GB, free: 31.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3863, allocations: 0.6268 MB / 0.5625 GB, free: 31.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3875, allocations: 0.5629 MB / 0.563 GB, free: 30.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3888, allocations: 1.388 MB / 0.5644 GB, free: 30.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004503/0.3893, allocations: 333.8 kB / 0.5647 GB, free: 29.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006162/0.3899, allocations: 0.5817 MB / 0.5653 GB, free: 29.58 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.3905, allocations: 0.7249 MB / 0.566 GB, free: 29.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001271/0.3906, allocations: 101.3 kB / 0.5661 GB, free: 29.22 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004284/0.3911, allocations: 232.2 kB / 0.5663 GB, free: 29.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.3912, allocations: 276.3 kB / 0.5665 GB, free: 29 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.3916, allocations: 0.6248 MB / 0.5672 GB, free: 28.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.3927, allocations: 1.483 MB / 0.5686 GB, free: 27.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3927, allocations: 0 / 0.5686 GB, free: 27.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3928, allocations: 3.844 kB / 0.5686 GB, free: 27.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3928, allocations: 4 kB / 0.5686 GB, free: 27.88 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007234/0.4, allocations: 2.531 MB / 0.5711 GB, free: 26.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4001, allocations: 15.41 kB / 0.5711 GB, free: 26.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.4002, allocations: 127.9 kB / 0.5712 GB, free: 26.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004628/0.4049, allocations: 0.7835 MB / 0.572 GB, free: 26.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.4058, allocations: 0.7592 MB / 0.5727 GB, free: 25.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002301/0.4061, allocations: 259.2 kB / 0.573 GB, free: 25.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4062, allocations: 77.19 kB / 0.573 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/0.4083, allocations: 1.079 MB / 0.5741 GB, free: 25.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.4083, allocations: 0 / 0.5741 GB, free: 25.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.823e-05/0.4084, allocations: 32.97 kB / 0.5741 GB, free: 25.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.4084, allocations: 17.56 kB / 0.5741 GB, free: 25.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002232/0.4107, allocations: 1.121 MB / 0.5752 GB, free: 24.9 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.005761/0.4164, allocations: 3.442 MB / 0.5786 GB, free: 22.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.4186, allocations: 1.409 MB / 0.58 GB, free: 22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.4203, allocations: 0.7808 MB / 0.5807 GB, free: 21.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.4204, allocations: 19.33 kB / 0.5808 GB, free: 21.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.4204, allocations: 47.33 kB / 0.5808 GB, free: 21.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.845e-06/0.4205, allocations: 1.156 kB / 0.5808 GB, free: 21.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02649/0.4469, allocations: 6.748 MB / 0.5874 GB, free: 19.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.008e-05/0.447, allocations: 70.03 kB / 0.5875 GB, free: 19.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.4484, allocations: 0.8797 MB / 0.5883 GB, free: 19.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.4487, allocations: 41.17 kB / 0.5884 GB, free: 19.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.449, allocations: 495.7 kB / 0.5888 GB, free: 18.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003201/0.4493, allocations: 350 kB / 0.5892 GB, free: 18.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/0.4497, allocations: 193.2 kB / 0.5894 GB, free: 18.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.655e-05/0.4498, allocations: 352.2 kB / 0.5897 GB, free: 17.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4514, allocations: 0.7062 MB / 0.5904 GB, free: 17.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001583/0.453, allocations: 0.8405 MB / 0.5912 GB, free: 17.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01817/0.4712, allocations: 4.796 MB / 0.5959 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.4712, allocations: 0 / 0.5959 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01228/0.4835, allocations: 4.258 MB / 0.6 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.4836, allocations: 8 kB / 0.6 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4836, allocations: 0 / 0.6 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005474/0.4891, allocations: 1.872 MB / 0.6019 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4901, allocations: 203.7 kB / 0.6021 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/0.5086, allocations: 9.106 MB / 0.611 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.5104, allocations: 175 kB / 0.6111 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/0.5106, allocations: 39.98 kB / 0.6112 GB, free: 14.9 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.000647/0.5113, allocations: 245.6 kB / 0.6114 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000325/0.5116, allocations: 118.5 kB / 0.6115 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.5245, allocations: 4.002 MB / 0.6154 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.5246, allocations: 12 kB / 0.6154 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5246, allocations: 3.938 kB / 0.6154 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.416e-05/0.5246, allocations: 7.969 kB / 0.6154 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.5399, allocations: 5.625 MB / 0.6209 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.54, allocations: 0 / 0.6209 GB, free: 4.719 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007708/0.5408, allocations: 123.9 kB / 0.6211 GB, free: 4.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005899/0.5467, allocations: 1.738 MB / 0.6228 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002142/0.5469, allocations: 19.98 kB / 0.6228 GB, free: 2.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01871/0.5657, allocations: 8.076 MB / 0.6307 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.5657, allocations: 0 / 0.6307 GB, free: 10.62 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01493/0.5807, allocations: 4.97 MB / 0.6355 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.5811, allocations: 203.4 kB / 0.6357 GB, free: 5.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/0.5813, allocations: 19.98 kB / 0.6357 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5824, allocations: 115.9 kB / 0.6358 GB, free: 5.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007497/0.5832, allocations: 212.6 kB / 0.636 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.123e-05/0.5833, allocations: 31.98 kB / 0.6361 GB, free: 5.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000779/0.584, allocations: 0.5927 MB / 0.6366 GB, free: 4.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.12e-07/0.584, allocations: 0 / 0.6366 GB, free: 4.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001362/0.5854, allocations: 431.5 kB / 0.6371 GB, free: 4.008 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.01554/0.601, allocations: 5.55 MB / 0.6425 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007262/0.6083, allocations: 2.5 MB / 0.6449 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.6083, allocations: 0 / 0.6449 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004695/0.613, allocations: 1.59 MB / 0.6465 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.614, allocations: 92.34 kB / 0.6466 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/0.6536, allocations: 16.08 MB / 0.6623 GB, free: 9.738 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009267/0.6545, allocations: 1.084 MB / 0.6633 GB, free: 8.625 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.6551, allocations: 90.62 kB / 0.6634 GB, free: 8.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007585/0.6559, allocations: 451.3 kB / 0.6638 GB, free: 8.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6559, allocations: 3.938 kB / 0.6638 GB, free: 8.086 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06313/0.719, allocations: 31.57 MB / 0.6947 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.7194, allocations: 239.4 kB / 0.6949 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.889/3.609, allocations: 0 / 0.6949 GB, free: 8.359 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)