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.1245/0.1245, allocations: 12.2 MB / 27.17 MB, free: 1.504 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.0009303/0.0009303, allocations: 99.58 kB / 30.68 MB, free: 4.863 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.935/1.935, allocations: 205.4 MB / 239.5 MB, free: 11.56 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.001187/0.001187, allocations: 176.5 kB / 290.6 MB, free: 11.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5119/0.5119, allocations: 78.52 MB / 420.1 MB, free: 11.5 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.001019/0.001019, allocations: 32 kB / 0.4896 GB, free: 10.26 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4543/0.4553, allocations: 69.23 MB / 0.5572 GB, free: 21.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005096/0.4605, allocations: 6.004 MB / 0.563 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00273/0.4632, allocations: 1.773 MB / 0.5648 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.4636, allocations: 15.94 kB / 0.5648 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.464, allocations: 154.8 kB / 0.5649 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.4653, allocations: 0.602 MB / 0.5655 GB, free: 12.43 MB / 382.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.0009412/0.4663, allocations: 0.5141 MB / 0.566 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009836/0.4672, allocations: 1.296 MB / 0.5673 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.4676, allocations: 261.7 kB / 0.5675 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000475/0.4681, allocations: 0.5055 MB / 0.568 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.4687, allocations: 0.6377 MB / 0.5687 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-05/0.4688, allocations: 52 kB / 0.5687 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003283/0.4691, allocations: 175.9 kB / 0.5689 GB, free: 8.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.4693, allocations: 218.9 kB / 0.5691 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.4695, allocations: 221 kB / 0.5693 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.4702, allocations: 1.091 MB / 0.5704 GB, free: 7.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4702, allocations: 0 / 0.5704 GB, free: 7.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.4702, allocations: 8 kB / 0.5704 GB, free: 7.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.4702, allocations: 0 / 0.5704 GB, free: 7.441 MB / 382.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.006034/0.4763, allocations: 2.401 MB / 0.5727 GB, free: 4.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.4763, allocations: 11.98 kB / 0.5727 GB, free: 4.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001751/0.4765, allocations: 134.8 kB / 0.5729 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.4807, allocations: 0.7905 MB / 0.5736 GB, free: 4.043 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/0.4817, allocations: 0.7304 MB / 0.5743 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.4819, allocations: 272.1 kB / 0.5746 GB, free: 2.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.482, allocations: 80 kB / 0.5747 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.484, allocations: 1.163 MB / 0.5758 GB, free: 1.707 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.484, allocations: 3.984 kB / 0.5758 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.4841, allocations: 32 kB / 0.5758 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.4841, allocations: 20 kB / 0.5759 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.4863, allocations: 1.234 MB / 0.5771 GB, free: 428 kB / 382.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.005688/0.492, allocations: 3.538 MB / 0.5805 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/0.4941, allocations: 1.517 MB / 0.582 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.4958, allocations: 0.8711 MB / 0.5829 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.4959, allocations: 13 kB / 0.5829 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.4959, allocations: 43.56 kB / 0.5829 GB, free: 10.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 1.914e-06/0.496, allocations: 0 / 0.5829 GB, free: 10.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.0237/0.5197, allocations: 8.188 MB / 0.5909 GB, free: 1.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.5198, allocations: 60.41 kB / 0.591 GB, free: 1.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.521, allocations: 0.8844 MB / 0.5918 GB, free: 0.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.5211, allocations: 41.7 kB / 0.5919 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/0.5215, allocations: 496.7 kB / 0.5923 GB, free: 428 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.5218, allocations: 355 kB / 0.5927 GB, free: 68 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-05/0.5219, allocations: 28 kB / 0.5927 GB, free: 40 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5221, allocations: 350 kB / 0.593 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001593/0.5237, allocations: 0.8147 MB / 0.5938 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.5254, allocations: 0.9555 MB / 0.5948 GB, free: 13.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00165/0.5271, allocations: 0.8667 MB / 0.5956 GB, free: 13.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5271, allocations: 0 / 0.5956 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01324/0.5403, allocations: 5.246 MB / 0.6007 GB, free: 7.758 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5404, allocations: 4 kB / 0.6007 GB, free: 7.754 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.5404, allocations: 4 kB / 0.6007 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005876/0.5463, allocations: 2.1 MB / 0.6028 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009958/0.5473, allocations: 231.7 kB / 0.603 GB, free: 5.422 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/0.5677, allocations: 9.517 MB / 0.6123 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.5693, allocations: 226.9 kB / 0.6125 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/0.5696, allocations: 39.98 kB / 0.6126 GB, free: 11.51 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1d:VARIABLE(start = Generator.e1d0 unit = "1" fixed = true ) "d-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 (115): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {24 13} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.5704, allocations: 248 kB / 0.6128 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003909/0.5708, allocations: 122.4 kB / 0.6129 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.584, allocations: 4.948 MB / 0.6177 GB, free: 6.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.584, allocations: 12 kB / 0.6178 GB, free: 6.16 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.584, allocations: 4 kB / 0.6178 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/0.5841, allocations: 3.984 kB / 0.6178 GB, free: 6.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/0.5997, allocations: 6.548 MB / 0.6242 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.5998, allocations: 0 / 0.6242 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/0.6005, allocations: 151.8 kB / 0.6243 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005831/0.6063, allocations: 2.05 MB / 0.6263 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.6065, allocations: 16 kB / 0.6263 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01801/0.6245, allocations: 8.186 MB / 0.6343 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.185e-06/0.6245, allocations: 0 / 0.6343 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01498/0.6395, allocations: 5.985 MB / 0.6402 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004825/0.64, allocations: 207.4 kB / 0.6404 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.6403, allocations: 16 kB / 0.6404 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.6415, allocations: 155.9 kB / 0.6405 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007272/0.6422, allocations: 216.6 kB / 0.6407 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.6423, allocations: 27.98 kB / 0.6408 GB, free: 14.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.6434, allocations: 0.593 MB / 0.6413 GB, free: 13.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6434, allocations: 0 / 0.6413 GB, free: 13.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00178/0.6452, allocations: 443.4 kB / 0.6418 GB, free: 13.25 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/0.6605, allocations: 6.553 MB / 0.6482 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007041/0.6676, allocations: 2.783 MB / 0.6509 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.6676, allocations: 0 / 0.6509 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004943/0.6726, allocations: 1.81 MB / 0.6526 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.6742, allocations: 91.61 kB / 0.6527 GB, free: 1.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/0.7009, allocations: 11.69 MB / 0.6641 GB, free: 5.926 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/0.7018, allocations: 1.099 MB / 0.6652 GB, free: 4.801 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005413/0.7024, allocations: 90.75 kB / 0.6653 GB, free: 4.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007303/0.7031, allocations: 439.3 kB / 0.6657 GB, free: 4.277 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.7032, allocations: 0 / 0.6657 GB, free: 4.277 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3629/1.066, allocations: 29.81 MB / 0.6948 GB, free: 119.5 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.066, allocations: 215.8 kB / 0.695 GB, free: 119.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.929/3.995, allocations: 2.625 kB / 0.695 GB, free: 119.3 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: