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.004934/0.004934, allocations: 102.1 kB / 15.73 MB, free: 6.055 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.334/1.334, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001422/0.001422, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4596/0.4596, allocations: 78.53 MB / 418.4 MB, free: 3.188 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.001631, allocations: 76.11 kB / 0.5532 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3219, allocations: 68.16 MB / 0.6197 GB, free: 9.277 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00508/0.327, allocations: 6.376 MB / 0.6259 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.33, allocations: 1.857 MB / 0.6278 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006214/0.3306, allocations: 12 kB / 0.6278 GB, free: 1.895 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.3312, allocations: 226 kB / 0.628 GB, free: 1.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.3329, allocations: 0.7579 MB / 0.6287 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.3341, allocations: 0.6007 MB / 0.6293 GB, free: 328 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001757/0.3359, allocations: 1.405 MB / 0.6307 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005194/0.3364, allocations: 330.5 kB / 0.631 GB, free: 14.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007472/0.3372, allocations: 0.5834 MB / 0.6316 GB, free: 14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.338, allocations: 0.7232 MB / 0.6323 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.3382, allocations: 104 kB / 0.6324 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004613/0.3386, allocations: 239.9 kB / 0.6326 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002257/0.3389, allocations: 270.8 kB / 0.6329 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005202/0.3394, allocations: 0.6213 MB / 0.6335 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.3409, allocations: 1.506 MB / 0.6349 GB, free: 10.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3409, allocations: 0 / 0.6349 GB, free: 10.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3409, allocations: 0 / 0.6349 GB, free: 10.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.341, allocations: 0 / 0.6349 GB, free: 10.53 MB / 446.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.008/0.349, allocations: 2.54 MB / 0.6374 GB, free: 7.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.349, allocations: 8.031 kB / 0.6374 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.3492, allocations: 130.8 kB / 0.6376 GB, free: 7.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.3541, allocations: 0.7749 MB / 0.6383 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.3557, allocations: 0.7684 MB / 0.6391 GB, free: 6.184 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/0.356, allocations: 256.2 kB / 0.6393 GB, free: 5.898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.3562, allocations: 80 kB / 0.6394 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002369/0.3586, allocations: 1.077 MB / 0.6404 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3586, allocations: 0 / 0.6404 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.133e-05/0.3587, allocations: 36 kB / 0.6405 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.3587, allocations: 16 kB / 0.6405 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/0.3612, allocations: 1.124 MB / 0.6416 GB, free: 3.559 MB / 446.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.006198/0.3674, allocations: 3.424 MB / 0.6449 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/0.3699, allocations: 1.407 MB / 0.6463 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.3716, allocations: 0.7774 MB / 0.6471 GB, free: 13.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.3718, allocations: 24.89 kB / 0.6471 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3718, allocations: 39.56 kB / 0.6471 GB, free: 13.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 5.48e-06/0.3718, allocations: 0 / 0.6471 GB, free: 13.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=96): time 0.02489/0.3967, allocations: 6.746 MB / 0.6537 GB, free: 6.824 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.3968, allocations: 60.41 kB / 0.6538 GB, free: 6.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.3979, allocations: 0.8915 MB / 0.6546 GB, free: 5.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.3981, allocations: 41.7 kB / 0.6547 GB, free: 5.793 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.3984, allocations: 0.489 MB / 0.6552 GB, free: 5.297 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003499/0.3988, allocations: 335.1 kB / 0.6555 GB, free: 4.965 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/0.3992, allocations: 198.8 kB / 0.6557 GB, free: 4.762 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3993, allocations: 349.9 kB / 0.656 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4009, allocations: 0.7131 MB / 0.6567 GB, free: 3.703 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.4026, allocations: 0.8345 MB / 0.6575 GB, free: 2.836 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01815/0.4208, allocations: 4.779 MB / 0.6622 GB, free: 14.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4208, allocations: 3.938 kB / 0.6622 GB, free: 14.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01305/0.4339, allocations: 4.261 MB / 0.6663 GB, free: 9.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4339, allocations: 4 kB / 0.6663 GB, free: 9.734 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.434, allocations: 4 kB / 0.6663 GB, free: 9.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.4398, allocations: 1.862 MB / 0.6682 GB, free: 7.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.441, allocations: 207.7 kB / 0.6684 GB, free: 7.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02005/0.4611, allocations: 9.078 MB / 0.6772 GB, free: 14.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.4624, allocations: 178.9 kB / 0.6774 GB, free: 14.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/0.4626, allocations: 39.98 kB / 0.6774 GB, free: 14.21 MB / 494.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.0004417/0.463, allocations: 237.6 kB / 0.6777 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.4632, allocations: 118.5 kB / 0.6778 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.4754, allocations: 4.01 MB / 0.6817 GB, free: 9.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.4755, allocations: 15.98 kB / 0.6817 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.4755, allocations: 7.938 kB / 0.6817 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/0.4755, allocations: 3.984 kB / 0.6817 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/0.49, allocations: 5.61 MB / 0.6872 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4901, allocations: 0 / 0.6872 GB, free: 4.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.4908, allocations: 131.8 kB / 0.6873 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005589/0.4964, allocations: 1.738 MB / 0.689 GB, free: 2.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.4965, allocations: 20 kB / 0.689 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01747/0.514, allocations: 8.072 MB / 0.6969 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.5141, allocations: 4 kB / 0.6969 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/0.5288, allocations: 4.964 MB / 0.7018 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004771/0.5294, allocations: 203.4 kB / 0.702 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.5297, allocations: 16 kB / 0.702 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.5314, allocations: 107.9 kB / 0.7021 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001146/0.5326, allocations: 220.6 kB / 0.7023 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/0.5328, allocations: 24 kB / 0.7023 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001327/0.5341, allocations: 0.5926 MB / 0.7029 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5341, allocations: 0 / 0.7029 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002212/0.5364, allocations: 435.5 kB / 0.7033 GB, free: 3.352 MB / 0.4981 GB 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.02338/0.5597, allocations: 5.545 MB / 0.7087 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01048/0.5703, allocations: 2.466 MB / 0.7111 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.5703, allocations: 8.188 kB / 0.7111 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007302/0.5776, allocations: 1.593 MB / 0.7127 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.5789, allocations: 98.06 kB / 0.7128 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05706/0.636, allocations: 15.1 MB / 0.7275 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001142/0.6373, allocations: 1.084 MB / 0.7286 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006899/0.638, allocations: 90.69 kB / 0.7287 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009175/0.6389, allocations: 447.3 kB / 0.7291 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.6389, allocations: 0 / 0.7291 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09152/0.7305, allocations: 33.26 MB / 0.7616 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.16, allocations: 7.859 kB / 0.7616 GB, free: 7.5 MB / 0.5606 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)