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.001481/0.001481, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 239.3 MB, free: 4.582 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.001388/0.001388, allocations: 192.2 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4574/0.4574, allocations: 78.53 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 75.89 kB / 497.5 MB, free: 6.312 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1639, allocations: 68.18 MB / 0.5525 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.3358/0.4998, allocations: 6.375 MB / 0.5587 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.503, allocations: 1.847 MB / 0.5605 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003907/0.5034, allocations: 13.53 kB / 0.5605 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004654/0.5038, allocations: 221.4 kB / 0.5607 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.5053, allocations: 0.7104 MB / 0.5614 GB, free: 35.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.5064, allocations: 0.608 MB / 0.562 GB, free: 35.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00111/0.5075, allocations: 1.387 MB / 0.5634 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004085/0.508, allocations: 333.3 kB / 0.5637 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005018/0.5085, allocations: 0.5803 MB / 0.5642 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000589/0.5091, allocations: 0.7201 MB / 0.565 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.5092, allocations: 102.2 kB / 0.565 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.5096, allocations: 230.3 kB / 0.5653 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001923/0.5098, allocations: 283.4 kB / 0.5655 GB, free: 34.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.5103, allocations: 0.6208 MB / 0.5661 GB, free: 34.49 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.5114, allocations: 1.489 MB / 0.5676 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5114, allocations: 3.062 kB / 0.5676 GB, free: 34.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5114, allocations: 0 / 0.5676 GB, free: 34.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.5114, allocations: 0 / 0.5676 GB, free: 34.12 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.00716/0.5186, allocations: 2.535 MB / 0.5701 GB, free: 33.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.5187, allocations: 7.969 kB / 0.5701 GB, free: 33.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001321/0.5188, allocations: 132 kB / 0.5702 GB, free: 33.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004649/0.5234, allocations: 0.7758 MB / 0.571 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009928/0.5245, allocations: 0.7633 MB / 0.5717 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.5247, allocations: 258.3 kB / 0.572 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.5248, allocations: 75.56 kB / 0.572 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.5269, allocations: 1.077 MB / 0.5731 GB, free: 32.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5269, allocations: 3.938 kB / 0.5731 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.527, allocations: 31.25 kB / 0.5731 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.527, allocations: 18.47 kB / 0.5731 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.5292, allocations: 1.119 MB / 0.5742 GB, free: 32.43 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.004733/0.534, allocations: 3.442 MB / 0.5776 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.5358, allocations: 1.418 MB / 0.579 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001426/0.5373, allocations: 0.7769 MB / 0.5797 GB, free: 30.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.202e-05/0.5374, allocations: 15.83 kB / 0.5797 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.5374, allocations: 45.78 kB / 0.5798 GB, free: 30.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.866e-06/0.5374, allocations: 0 / 0.5798 GB, free: 30.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02633/0.5637, allocations: 6.749 MB / 0.5864 GB, free: 28.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.5638, allocations: 62.19 kB / 0.5864 GB, free: 28.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.5653, allocations: 0.8837 MB / 0.5873 GB, free: 28.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.5654, allocations: 41.11 kB / 0.5873 GB, free: 28.28 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003257/0.5658, allocations: 499.3 kB / 0.5878 GB, free: 27.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/0.5661, allocations: 341.1 kB / 0.5881 GB, free: 27.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/0.5665, allocations: 202 kB / 0.5883 GB, free: 27.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5666, allocations: 350.1 kB / 0.5887 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.5684, allocations: 0.711 MB / 0.5894 GB, free: 26.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.5703, allocations: 0.8369 MB / 0.5902 GB, free: 26.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01935/0.5897, allocations: 4.796 MB / 0.5949 GB, free: 25.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5897, allocations: 1.312 kB / 0.5949 GB, free: 25.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01423/0.604, allocations: 4.26 MB / 0.599 GB, free: 24.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.604, allocations: 5.438 kB / 0.599 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.6041, allocations: 2.859 kB / 0.599 GB, free: 24.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006572/0.6107, allocations: 1.866 MB / 0.6009 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.6118, allocations: 210.2 kB / 0.6011 GB, free: 23.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02037/0.6322, allocations: 9.089 MB / 0.6099 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.6338, allocations: 177.2 kB / 0.6101 GB, free: 18.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.582e-05/0.6339, allocations: 40.11 kB / 0.6101 GB, free: 18.91 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.0004613/0.6344, allocations: 245 kB / 0.6104 GB, free: 18.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.6346, allocations: 118.8 kB / 0.6105 GB, free: 18.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.6466, allocations: 4.007 MB / 0.6144 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.6466, allocations: 8 kB / 0.6144 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6466, allocations: 3.938 kB / 0.6144 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.6466, allocations: 7.984 kB / 0.6144 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.6598, allocations: 5.615 MB / 0.6199 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.6598, allocations: 4 kB / 0.6199 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.6605, allocations: 127.8 kB / 0.62 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005267/0.6657, allocations: 1.748 MB / 0.6217 GB, free: 7.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.6658, allocations: 19.94 kB / 0.6218 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.016/0.6818, allocations: 8.079 MB / 0.6296 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.6819, allocations: 0.9375 kB / 0.6296 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.6968, allocations: 4.962 MB / 0.6345 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000395/0.6972, allocations: 199.4 kB / 0.6347 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/0.6974, allocations: 16 kB / 0.6347 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009936/0.6984, allocations: 107.9 kB / 0.6348 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006827/0.6991, allocations: 222.6 kB / 0.635 GB, free: 9.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.6992, allocations: 28 kB / 0.635 GB, free: 9.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007452/0.6999, allocations: 0.5887 MB / 0.6356 GB, free: 9.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6999, allocations: 7.938 kB / 0.6356 GB, free: 9.266 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001301/0.7012, allocations: 431.5 kB / 0.636 GB, free: 8.844 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.01527/0.7165, allocations: 5.551 MB / 0.6415 GB, free: 3.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007604/0.7242, allocations: 2.496 MB / 0.6439 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7242, allocations: 0 / 0.6439 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004833/0.729, allocations: 1.595 MB / 0.6455 GB, free: 15.14 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009608/0.73, allocations: 88.42 kB / 0.6455 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03843/0.7684, allocations: 15.69 MB / 0.6609 GB, free: 15 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.7691, allocations: 1.084 MB / 0.6619 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004184/0.7696, allocations: 89.69 kB / 0.662 GB, free: 13.79 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/0.7701, allocations: 443.3 kB / 0.6624 GB, free: 13.36 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7701, allocations: 0 / 0.6624 GB, free: 13.36 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07045/0.8406, allocations: 32.85 MB / 0.6945 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.9, allocations: 9.625 kB / 0.6945 GB, free: 12.85 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)