Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.001283/0.001284, 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.334/1.334, allocations: 222.9 MB / 238.9 MB, free: 4.766 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.001432/0.001432, allocations: 184.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5211/0.5211, allocations: 91.89 MB / 431.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001712/0.001712, allocations: 72.17 kB / 0.5013 GB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3955, allocations: 71.26 MB / 0.5709 GB, free: 36.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005733/0.4012, allocations: 6.732 MB / 0.5775 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003554/0.4048, allocations: 1.909 MB / 0.5793 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006135/0.4055, allocations: 15.66 kB / 0.5794 GB, free: 31.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004881/0.406, allocations: 171.8 kB / 0.5795 GB, free: 31.42 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.4074, allocations: 0.6308 MB / 0.5801 GB, free: 31.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.4085, allocations: 0.5638 MB / 0.5807 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.4095, allocations: 1.335 MB / 0.582 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.4099, allocations: 291.3 kB / 0.5823 GB, free: 29.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005438/0.4104, allocations: 0.5417 MB / 0.5828 GB, free: 29.66 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.411, allocations: 0.689 MB / 0.5835 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4111, allocations: 64.41 kB / 0.5835 GB, free: 29.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003974/0.4115, allocations: 192.6 kB / 0.5837 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001635/0.4117, allocations: 245.3 kB / 0.584 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.4121, allocations: 0.5794 MB / 0.5845 GB, free: 28.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.4132, allocations: 1.453 MB / 0.5859 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4132, allocations: 0 / 0.5859 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4132, allocations: 0 / 0.5859 GB, free: 28.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.4132, allocations: 0 / 0.5859 GB, free: 28.09 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.007686/0.4209, allocations: 2.539 MB / 0.5884 GB, free: 26.92 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.421, allocations: 9.812 kB / 0.5884 GB, free: 26.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.4211, allocations: 128.5 kB / 0.5886 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/0.426, allocations: 0.7824 MB / 0.5893 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.4271, allocations: 0.7615 MB / 0.5901 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.4274, allocations: 260.2 kB / 0.5903 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.4275, allocations: 74.78 kB / 0.5904 GB, free: 25.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.4298, allocations: 1.083 MB / 0.5914 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.4298, allocations: 0 / 0.5914 GB, free: 25.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.4299, allocations: 29.75 kB / 0.5915 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/0.4299, allocations: 19.06 kB / 0.5915 GB, free: 25.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002395/0.4323, allocations: 1.119 MB / 0.5926 GB, free: 25.11 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.005417/0.4377, allocations: 3.445 MB / 0.5959 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.4399, allocations: 1.407 MB / 0.5973 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00168/0.4415, allocations: 0.78 MB / 0.5981 GB, free: 21.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.4417, allocations: 18.03 kB / 0.5981 GB, free: 21.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.611e-05/0.4417, allocations: 47 kB / 0.5981 GB, free: 21.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.685e-06/0.4418, allocations: 0 / 0.5981 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02775/0.4695, allocations: 6.742 MB / 0.6047 GB, free: 20.6 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.4696, allocations: 70.78 kB / 0.6048 GB, free: 20.53 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.471, allocations: 0.8829 MB / 0.6057 GB, free: 20.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.4712, allocations: 41.36 kB / 0.6057 GB, free: 20.11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.4715, allocations: 0.4895 MB / 0.6062 GB, free: 19.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003363/0.4719, allocations: 341.5 kB / 0.6065 GB, free: 19.45 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003985/0.4723, allocations: 196.2 kB / 0.6067 GB, free: 19.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.4724, allocations: 356.2 kB / 0.607 GB, free: 19.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.474, allocations: 0.7117 MB / 0.6077 GB, free: 18.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/0.4757, allocations: 0.8386 MB / 0.6085 GB, free: 18.42 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01943/0.4951, allocations: 4.774 MB / 0.6132 GB, free: 17.11 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.4952, allocations: 1.094 kB / 0.6132 GB, free: 17.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01363/0.5088, allocations: 4.258 MB / 0.6174 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5089, allocations: 8 kB / 0.6174 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.634e-05/0.5089, allocations: 0 / 0.6174 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00565/0.5145, allocations: 1.866 MB / 0.6192 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5157, allocations: 211.7 kB / 0.6194 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01798/0.5337, allocations: 8.36 MB / 0.6276 GB, free: 4.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.5353, allocations: 171 kB / 0.6277 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001996/0.5355, allocations: 43.98 kB / 0.6278 GB, free: 3.996 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.0006123/0.5361, allocations: 233.6 kB / 0.628 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/0.5365, allocations: 126.4 kB / 0.6281 GB, free: 3.633 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.5486, allocations: 4.002 MB / 0.632 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5486, allocations: 12 kB / 0.632 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5486, allocations: 0 / 0.632 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.5487, allocations: 3.984 kB / 0.632 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/0.5638, allocations: 5.621 MB / 0.6375 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5639, allocations: 3.938 kB / 0.6375 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000753/0.5646, allocations: 127.9 kB / 0.6376 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005911/0.5706, allocations: 1.741 MB / 0.6393 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.5708, allocations: 16 kB / 0.6394 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01791/0.5887, allocations: 7.362 MB / 0.6465 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5887, allocations: 3.938 kB / 0.6465 GB, free: 448 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01532/0.6041, allocations: 4.962 MB / 0.6514 GB, free: 11.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004345/0.6045, allocations: 207.4 kB / 0.6516 GB, free: 11.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6049, allocations: 16 kB / 0.6516 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.6061, allocations: 107.9 kB / 0.6517 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007651/0.6068, allocations: 212.6 kB / 0.6519 GB, free: 10.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.607, allocations: 24 kB / 0.6519 GB, free: 10.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008621/0.6078, allocations: 0.5887 MB / 0.6525 GB, free: 10.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.6078, allocations: 0 / 0.6525 GB, free: 10.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001401/0.6093, allocations: 447.4 kB / 0.6529 GB, free: 9.84 MB / 462.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.01589/0.6252, allocations: 5.537 MB / 0.6583 GB, free: 4.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007349/0.6325, allocations: 2.421 MB / 0.6607 GB, free: 1.836 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6326, allocations: 4 kB / 0.6607 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004931/0.6375, allocations: 1.544 MB / 0.6622 GB, free: 272 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.6388, allocations: 86.19 kB / 0.6623 GB, free: 188 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04106/0.6799, allocations: 16.11 MB / 0.678 GB, free: 15.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007773/0.6807, allocations: 1.088 MB / 0.6791 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004858/0.6812, allocations: 82.69 kB / 0.6792 GB, free: 14.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006341/0.6818, allocations: 443.3 kB / 0.6796 GB, free: 14.05 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6819, allocations: 0 / 0.6796 GB, free: 14.05 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06231/0.7442, allocations: 30.24 MB / 0.7091 GB, free: 8 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.7444, allocations: 236.4 kB / 0.7094 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.445, allocations: 0 / 0.7094 GB, free: 15.75 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)