Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08043/0.08043, allocations: 12.59 MB / 28.22 MB, free: 1.074 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.001028/0.001027, allocations: 115.4 kB / 31.83 MB, free: 4.012 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.304/1.304, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.001481/0.001481, allocations: 192.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4249/0.4249, allocations: 78.51 MB / 419.3 MB, free: 11.27 MB / 302.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.002648/0.002648, allocations: 142.6 kB / 0.5554 GB, free: 28.68 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1156, allocations: 68.12 MB / 0.6219 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006749/0.1224, allocations: 6.483 MB / 0.6282 GB, free: 9.398 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003382/0.1258, allocations: 1.838 MB / 0.63 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004877/0.1263, allocations: 8 kB / 0.63 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000478/0.1268, allocations: 226 kB / 0.6303 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.1287, allocations: 0.7758 MB / 0.631 GB, free: 6.547 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.13, allocations: 0.6002 MB / 0.6316 GB, free: 5.953 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001403/0.1314, allocations: 1.433 MB / 0.633 GB, free: 4.516 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004904/0.132, allocations: 320.4 kB / 0.6333 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006342/0.1326, allocations: 0.5835 MB / 0.6339 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008052/0.1334, allocations: 0.7349 MB / 0.6346 GB, free: 2.867 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.1336, allocations: 104 kB / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.134, allocations: 247.8 kB / 0.6349 GB, free: 2.523 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002046/0.1342, allocations: 278.7 kB / 0.6352 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004586/0.1347, allocations: 0.6174 MB / 0.6358 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001478/0.1362, allocations: 1.535 MB / 0.6373 GB, free: 92 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1362, allocations: 3.984 kB / 0.6373 GB, free: 88 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1362, allocations: 0 / 0.6373 GB, free: 88 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.1362, allocations: 0 / 0.6373 GB, free: 88 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007532/0.1438, allocations: 2.556 MB / 0.6398 GB, free: 13.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1438, allocations: 11.98 kB / 0.6398 GB, free: 13.46 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.144, allocations: 130.8 kB / 0.6399 GB, free: 13.32 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004877/0.1489, allocations: 0.7748 MB / 0.6407 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.1501, allocations: 0.7764 MB / 0.6415 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002509/0.1503, allocations: 260.2 kB / 0.6417 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001481/0.1505, allocations: 76 kB / 0.6418 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002071/0.1526, allocations: 1.081 MB / 0.6428 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.1526, allocations: 3.984 kB / 0.6428 GB, free: 10.26 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.1527, allocations: 31.98 kB / 0.6429 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.1527, allocations: 20 kB / 0.6429 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002324/0.155, allocations: 1.117 MB / 0.644 GB, free: 9.09 MB / 462.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.005586/0.1606, allocations: 3.444 MB / 0.6473 GB, free: 5.496 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.1628, allocations: 1.421 MB / 0.6487 GB, free: 3.957 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/0.1643, allocations: 0.789 MB / 0.6495 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.1645, allocations: 16.98 kB / 0.6495 GB, free: 3.152 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1646, allocations: 43.56 kB / 0.6496 GB, free: 3.102 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.705e-06/0.1646, allocations: 0 / 0.6496 GB, free: 3.102 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02359/0.1882, allocations: 6.609 MB / 0.656 GB, free: 12.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1882, allocations: 60.41 kB / 0.6561 GB, free: 12.39 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.1894, allocations: 0.9001 MB / 0.6569 GB, free: 11.47 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.1896, allocations: 45.7 kB / 0.657 GB, free: 11.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/0.1899, allocations: 0.4929 MB / 0.6575 GB, free: 10.92 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/0.1903, allocations: 347 kB / 0.6578 GB, free: 10.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005326/0.1908, allocations: 198.8 kB / 0.658 GB, free: 10.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1909, allocations: 349.9 kB / 0.6583 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.1925, allocations: 0.7248 MB / 0.659 GB, free: 9.301 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00168/0.1942, allocations: 0.8501 MB / 0.6599 GB, free: 8.418 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01792/0.2121, allocations: 4.826 MB / 0.6646 GB, free: 3.559 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.2122, allocations: 7.938 kB / 0.6646 GB, free: 3.551 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01274/0.2249, allocations: 4.276 MB / 0.6688 GB, free: 15.26 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.225, allocations: 11.94 kB / 0.6688 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.225, allocations: 0 / 0.6688 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006015/0.231, allocations: 1.803 MB / 0.6705 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.2321, allocations: 211.7 kB / 0.6707 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/0.2529, allocations: 9.311 MB / 0.6798 GB, free: 3.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.2543, allocations: 175 kB / 0.68 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.2545, allocations: 39.98 kB / 0.68 GB, free: 3.551 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0006085/0.2551, allocations: 241.5 kB / 0.6803 GB, free: 3.305 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/0.2553, allocations: 122.5 kB / 0.6804 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/0.2673, allocations: 4.018 MB / 0.6843 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.2673, allocations: 12 kB / 0.6843 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2673, allocations: 0 / 0.6843 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.2674, allocations: 7.969 kB / 0.6843 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01419/0.2816, allocations: 5.61 MB / 0.6898 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.2817, allocations: 0 / 0.6898 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.2824, allocations: 123.9 kB / 0.6899 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0055/0.2879, allocations: 1.753 MB / 0.6916 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.2881, allocations: 23.92 kB / 0.6917 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01796/0.3061, allocations: 8.076 MB / 0.6995 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3061, allocations: 0 / 0.6995 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.3203, allocations: 4.968 MB / 0.7044 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004633/0.3208, allocations: 203.3 kB / 0.7046 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.3211, allocations: 16 kB / 0.7046 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3221, allocations: 115.8 kB / 0.7047 GB, free: 9.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/0.3229, allocations: 216.7 kB / 0.7049 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.323, allocations: 24 kB / 0.7049 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007298/0.3237, allocations: 0.6008 MB / 0.7055 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3237, allocations: 0 / 0.7055 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001313/0.325, allocations: 439.5 kB / 0.7059 GB, free: 8.641 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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 (64): * Single equations (assignments): 63 * 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.01397/0.339, allocations: 5.538 MB / 0.7114 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006177/0.3452, allocations: 2.504 MB / 0.7138 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3453, allocations: 0 / 0.7138 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2413/0.5866, allocations: 1.592 MB / 0.7154 GB, free: 87.35 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009084/0.5875, allocations: 88.39 kB / 0.7154 GB, free: 87.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03844/0.626, allocations: 15.33 MB / 0.7304 GB, free: 83.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005344/0.6266, allocations: 1.098 MB / 0.7315 GB, free: 82.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004748/0.6271, allocations: 81.72 kB / 0.7316 GB, free: 82.66 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004753/0.6275, allocations: 448.1 kB / 0.732 GB, free: 82.31 MB / 0.5137 GB Notification: Performance of SimCode: time 7.02e-07/0.6276, allocations: 1.125 kB / 0.732 GB, free: 82.31 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05433/0.6819, allocations: 33.78 MB / 0.765 GB, free: 55.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.28/16.96, allocations: 3.5 kB / 0.765 GB, free: 55.27 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)