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-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.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-master/package.mo): time 0.1159/0.1159, allocations: 12.6 MB / 28.1 MB, free: 248 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001159, allocations: 107.5 kB / 31.7 MB, free: 3.488 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.371/1.371, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001361/0.001361, allocations: 184.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4392/0.4392, allocations: 78.51 MB / 419.2 MB, free: 11.35 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.003077/0.003078, allocations: 132.7 kB / 499.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3093, allocations: 68.11 MB / 0.5547 GB, free: 32.73 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006255/0.3156, allocations: 6.417 MB / 0.5609 GB, free: 28.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003754/0.3194, allocations: 1.825 MB / 0.5627 GB, free: 26.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.3205, allocations: 10.84 kB / 0.5627 GB, free: 26.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005908/0.3211, allocations: 226.2 kB / 0.5629 GB, free: 26.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.3229, allocations: 0.7128 MB / 0.5636 GB, free: 25.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.3242, allocations: 0.597 MB / 0.5642 GB, free: 25.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.3257, allocations: 1.402 MB / 0.5656 GB, free: 24.51 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004663/0.3262, allocations: 325.7 kB / 0.5659 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006794/0.3269, allocations: 0.5793 MB / 0.5665 GB, free: 23.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.3275, allocations: 0.7279 MB / 0.5672 GB, free: 23.47 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001537/0.3277, allocations: 99.22 kB / 0.5673 GB, free: 23.47 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004918/0.3282, allocations: 230.2 kB / 0.5675 GB, free: 23.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.3284, allocations: 278.6 kB / 0.5678 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004327/0.3288, allocations: 0.6174 MB / 0.5684 GB, free: 22.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.3301, allocations: 1.485 MB / 0.5698 GB, free: 21.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3301, allocations: 9.281 kB / 0.5698 GB, free: 21.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3301, allocations: 0 / 0.5698 GB, free: 21.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.3301, allocations: 0 / 0.5698 GB, free: 21.59 MB / 398.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.00768/0.3378, allocations: 2.535 MB / 0.5723 GB, free: 20.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/0.3379, allocations: 14.8 kB / 0.5723 GB, free: 20.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.338, allocations: 128.3 kB / 0.5724 GB, free: 19.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.3431, allocations: 0.7768 MB / 0.5732 GB, free: 19.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.3442, allocations: 0.7622 MB / 0.5739 GB, free: 18.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002547/0.3445, allocations: 255 kB / 0.5742 GB, free: 18.7 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.3446, allocations: 79.88 kB / 0.5743 GB, free: 18.67 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.3469, allocations: 1.081 MB / 0.5753 GB, free: 18.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3469, allocations: 1.344 kB / 0.5753 GB, free: 18.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.347, allocations: 29.62 kB / 0.5753 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.3471, allocations: 18.38 kB / 0.5754 GB, free: 18.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.3493, allocations: 1.121 MB / 0.5765 GB, free: 17.03 MB / 398.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.004965/0.3542, allocations: 3.452 MB / 0.5798 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3561, allocations: 1.404 MB / 0.5812 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3575, allocations: 0.7851 MB / 0.582 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.88e-05/0.3576, allocations: 13 kB / 0.582 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3576, allocations: 43.56 kB / 0.582 GB, free: 11.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.407e-06/0.3576, allocations: 0 / 0.582 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.0241/0.3817, allocations: 6.75 MB / 0.5886 GB, free: 4.266 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3818, allocations: 64.41 kB / 0.5887 GB, free: 4.188 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3829, allocations: 0.8876 MB / 0.5895 GB, free: 3.281 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.3831, allocations: 49.64 kB / 0.5896 GB, free: 3.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.3833, allocations: 488.7 kB / 0.5901 GB, free: 2.742 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.3836, allocations: 343 kB / 0.5904 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003253/0.3839, allocations: 194.8 kB / 0.5906 GB, free: 2.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.384, allocations: 353.9 kB / 0.5909 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3854, allocations: 0.7131 MB / 0.5916 GB, free: 1.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001471/0.3869, allocations: 0.8384 MB / 0.5924 GB, free: 276 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01897/0.4059, allocations: 4.786 MB / 0.5971 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.406, allocations: 0 / 0.5971 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01397/0.4199, allocations: 4.257 MB / 0.6012 GB, free: 7.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.42, allocations: 8 kB / 0.6013 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.42, allocations: 3.984 kB / 0.6013 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006317/0.4263, allocations: 1.863 MB / 0.6031 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4274, allocations: 211.6 kB / 0.6033 GB, free: 5.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02246/0.4499, allocations: 9.105 MB / 0.6122 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4516, allocations: 175 kB / 0.6123 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.4519, allocations: 35.98 kB / 0.6124 GB, free: 11.64 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.0006348/0.4525, allocations: 249.4 kB / 0.6126 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.4529, allocations: 118.5 kB / 0.6127 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01362/0.4665, allocations: 4.01 MB / 0.6166 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.4666, allocations: 12 kB / 0.6167 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.4666, allocations: 3.938 kB / 0.6167 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.4666, allocations: 7.969 kB / 0.6167 GB, free: 7.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.4827, allocations: 5.625 MB / 0.6222 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.4828, allocations: 0 / 0.6222 GB, free: 1.449 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000768/0.4836, allocations: 127.8 kB / 0.6223 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006205/0.4898, allocations: 1.737 MB / 0.624 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.49, allocations: 19.98 kB / 0.624 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02009/0.5102, allocations: 8.076 MB / 0.6319 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.5102, allocations: 0 / 0.6319 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/0.5264, allocations: 4.97 MB / 0.6367 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005623/0.527, allocations: 203.4 kB / 0.6369 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004286/0.5275, allocations: 16 kB / 0.6369 GB, free: 2.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.5289, allocations: 111.9 kB / 0.637 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000891/0.5298, allocations: 224.6 kB / 0.6373 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/0.53, allocations: 23.98 kB / 0.6373 GB, free: 1.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.5312, allocations: 0.5927 MB / 0.6379 GB, free: 1.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5312, allocations: 0 / 0.6379 GB, free: 1.156 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001918/0.5332, allocations: 431.5 kB / 0.6383 GB, free: 0.7344 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.01629/0.5495, allocations: 5.553 MB / 0.6437 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007631/0.5571, allocations: 2.493 MB / 0.6461 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5572, allocations: 0 / 0.6461 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005127/0.5623, allocations: 1.596 MB / 0.6477 GB, free: 7.035 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.5635, allocations: 98.58 kB / 0.6478 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04125/0.6048, allocations: 15.68 MB / 0.6631 GB, free: 6.859 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008283/0.6056, allocations: 1.092 MB / 0.6642 GB, free: 5.742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005201/0.6062, allocations: 86.7 kB / 0.6642 GB, free: 5.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.6069, allocations: 447.3 kB / 0.6647 GB, free: 5.215 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.6069, allocations: 0 / 0.6647 GB, free: 5.215 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06564/0.6726, allocations: 32.86 MB / 0.6968 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.35, allocations: 8.234 kB / 0.6968 GB, free: 4.434 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)