Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07949/0.07949, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.0009998/0.0009998, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.303/1.303, allocations: 205.1 MB / 239.3 MB, free: 11.01 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.001441/0.001441, allocations: 184.5 kB / 289.5 MB, free: 15.9 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4121/0.4121, allocations: 78.5 MB / 418 MB, free: 31.79 MB / 318.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.002404/0.002404, allocations: 135.8 kB / 498.3 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3077, allocations: 68.03 MB / 0.5531 GB, free: 37.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005215/0.313, allocations: 6.869 MB / 0.5598 GB, free: 32.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.3157, allocations: 1.885 MB / 0.5616 GB, free: 31.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.316, allocations: 18.34 kB / 0.5616 GB, free: 31.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.3164, allocations: 173.8 kB / 0.5618 GB, free: 31.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.3176, allocations: 0.6366 MB / 0.5624 GB, free: 30.82 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation Generator.xq <> Generator.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.3185, allocations: 0.5704 MB / 0.563 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008172/0.3193, allocations: 1.36 MB / 0.5643 GB, free: 29.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003158/0.3196, allocations: 285.8 kB / 0.5646 GB, free: 29.69 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3201, allocations: 0.5484 MB / 0.5651 GB, free: 29.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000476/0.3205, allocations: 0.7011 MB / 0.5658 GB, free: 29.1 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.3207, allocations: 65.88 kB / 0.5659 GB, free: 29.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003373/0.321, allocations: 201.8 kB / 0.5661 GB, free: 29.06 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.3212, allocations: 240.8 kB / 0.5663 GB, free: 28.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000341/0.3215, allocations: 0.5887 MB / 0.5669 GB, free: 28.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008339/0.3223, allocations: 1.461 MB / 0.5683 GB, free: 27.85 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3224, allocations: 2.844 kB / 0.5683 GB, free: 27.85 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3224, allocations: 0 / 0.5683 GB, free: 27.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3224, allocations: 0 / 0.5683 GB, free: 27.85 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006815/0.3292, allocations: 2.559 MB / 0.5708 GB, free: 26.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3293, allocations: 15.17 kB / 0.5708 GB, free: 26.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.3294, allocations: 123.4 kB / 0.5709 GB, free: 26.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00456/0.334, allocations: 0.7871 MB / 0.5717 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.3349, allocations: 0.7716 MB / 0.5724 GB, free: 25.86 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002173/0.3351, allocations: 253.7 kB / 0.5727 GB, free: 25.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.3352, allocations: 82.03 kB / 0.5728 GB, free: 25.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.3372, allocations: 1.084 MB / 0.5738 GB, free: 25.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3372, allocations: 7.875 kB / 0.5738 GB, free: 25.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-05/0.3373, allocations: 32.44 kB / 0.5739 GB, free: 25.19 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3373, allocations: 18.53 kB / 0.5739 GB, free: 25.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002213/0.3396, allocations: 1.126 MB / 0.575 GB, free: 24.84 MB / 414.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.005295/0.3449, allocations: 3.464 MB / 0.5784 GB, free: 22.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001909/0.3468, allocations: 1.431 MB / 0.5798 GB, free: 21.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3483, allocations: 0.7833 MB / 0.5805 GB, free: 21.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.3484, allocations: 21.05 kB / 0.5805 GB, free: 21.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3484, allocations: 39.59 kB / 0.5806 GB, free: 21.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.605e-06/0.3484, allocations: 0 / 0.5806 GB, free: 21.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=98): time 0.02442/0.3729, allocations: 6.619 MB / 0.587 GB, free: 19.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3729, allocations: 62.19 kB / 0.5871 GB, free: 19.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/0.374, allocations: 0.8879 MB / 0.588 GB, free: 19.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.3742, allocations: 41.14 kB / 0.588 GB, free: 19.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.3744, allocations: 0.495 MB / 0.5885 GB, free: 18.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.3747, allocations: 346.6 kB / 0.5888 GB, free: 18.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003632/0.3751, allocations: 206.6 kB / 0.589 GB, free: 18.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.3751, allocations: 355.2 kB / 0.5894 GB, free: 17.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001508/0.3766, allocations: 0.7313 MB / 0.5901 GB, free: 17.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.3782, allocations: 0.8645 MB / 0.5909 GB, free: 17.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/0.3958, allocations: 4.846 MB / 0.5957 GB, free: 14.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-06/0.3959, allocations: 0 / 0.5957 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01166/0.4076, allocations: 4.284 MB / 0.5998 GB, free: 10.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4076, allocations: 4 kB / 0.5998 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4076, allocations: 4 kB / 0.5998 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/0.4127, allocations: 1.731 MB / 0.6015 GB, free: 8.766 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.4138, allocations: 227.7 kB / 0.6017 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/0.43, allocations: 8.34 MB / 0.6099 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/0.4317, allocations: 174.9 kB / 0.6101 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002078/0.4319, allocations: 43.98 kB / 0.6101 GB, free: 15.85 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (117): * Single equations (assignments): 116 * 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 {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000629/0.4326, allocations: 247.3 kB / 0.6103 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.4329, allocations: 118.5 kB / 0.6105 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.4451, allocations: 4.022 MB / 0.6144 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4452, allocations: 12 kB / 0.6144 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4452, allocations: 0 / 0.6144 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.4452, allocations: 3.984 kB / 0.6144 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/0.4592, allocations: 5.618 MB / 0.6199 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4592, allocations: 4 kB / 0.6199 GB, free: 5.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007328/0.46, allocations: 123.9 kB / 0.62 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005527/0.4655, allocations: 1.738 MB / 0.6217 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.4657, allocations: 27.97 kB / 0.6217 GB, free: 3.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.4818, allocations: 7.327 MB / 0.6289 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4819, allocations: 4 kB / 0.6289 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.4964, allocations: 4.958 MB / 0.6337 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.4969, allocations: 203.4 kB / 0.6339 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003364/0.4972, allocations: 23.94 kB / 0.6339 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.4985, allocations: 107.9 kB / 0.634 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/0.4993, allocations: 212.6 kB / 0.6342 GB, free: 6.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/0.4995, allocations: 27.98 kB / 0.6343 GB, free: 6.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001043/0.5005, allocations: 0.5969 MB / 0.6349 GB, free: 6.133 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5005, allocations: 0 / 0.6349 GB, free: 6.133 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001713/0.5022, allocations: 435.5 kB / 0.6353 GB, free: 5.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Generator.delta,Generator.w,Generator.e1q,Generator.e1d) * 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 (65): * Single equations (assignments): 64 * 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.01493/0.5172, allocations: 5.534 MB / 0.6407 GB, free: 144 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006975/0.5242, allocations: 2.437 MB / 0.6431 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5242, allocations: 0 / 0.6431 GB, free: 13.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004825/0.5291, allocations: 1.56 MB / 0.6446 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.5304, allocations: 92.36 kB / 0.6447 GB, free: 12.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03948/0.5699, allocations: 16.4 MB / 0.6607 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5708, allocations: 1.095 MB / 0.6618 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.5713, allocations: 90.75 kB / 0.6618 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006592/0.5719, allocations: 439.3 kB / 0.6623 GB, free: 9.57 MB / 478.1 MB Notification: Performance of SimCode: time 9.32e-07/0.572, allocations: 4 kB / 0.6623 GB, free: 9.566 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05039/0.6224, allocations: 30.53 MB / 0.6921 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/0.6226, allocations: 249.6 kB / 0.6923 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/3.152, allocations: 0 / 0.6923 GB, free: 10.86 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)