Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_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.0008406/0.0008408, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.369/1.369, allocations: 223.2 MB / 239 MB, free: 5.617 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.0009948/0.0009948, allocations: 183.8 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.477/0.477, allocations: 78.55 MB / 419.9 MB, free: 4.375 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005545/0.0005545, allocations: 16 kB / 499.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1496, allocations: 69.36 MB / 0.5559 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.2531/0.4028, allocations: 5.949 MB / 0.5617 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003856/0.4067, allocations: 1.805 MB / 0.5635 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.4079, allocations: 12.59 kB / 0.5635 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.4085, allocations: 158.9 kB / 0.5636 GB, free: 37.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.4103, allocations: 0.6001 MB / 0.5642 GB, free: 36.84 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001198/0.4115, allocations: 0.5151 MB / 0.5647 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.4132, allocations: 1.291 MB / 0.566 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.4136, allocations: 266.3 kB / 0.5662 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007181/0.4144, allocations: 0.5091 MB / 0.5667 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006253/0.415, allocations: 0.6298 MB / 0.5674 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.4151, allocations: 53.84 kB / 0.5674 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.4156, allocations: 184.1 kB / 0.5676 GB, free: 36.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.4158, allocations: 213 kB / 0.5678 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.4159, allocations: 220.3 kB / 0.568 GB, free: 35.92 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009079/0.4168, allocations: 1.102 MB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4169, allocations: 0.5 kB / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4169, allocations: 0 / 0.5691 GB, free: 35.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.4169, allocations: 7.5 kB / 0.5691 GB, free: 35.71 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006641/0.4235, allocations: 2.403 MB / 0.5714 GB, free: 34.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.4236, allocations: 8.562 kB / 0.5714 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002863/0.4239, allocations: 129.9 kB / 0.5716 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004703/0.4286, allocations: 0.7866 MB / 0.5723 GB, free: 34.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.4297, allocations: 0.7315 MB / 0.573 GB, free: 34.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002235/0.4299, allocations: 267.1 kB / 0.5733 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.4301, allocations: 86.2 kB / 0.5734 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.4322, allocations: 1.167 MB / 0.5745 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.4322, allocations: 0 / 0.5745 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-05/0.4323, allocations: 31.88 kB / 0.5745 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4323, allocations: 24.73 kB / 0.5746 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.4346, allocations: 1.232 MB / 0.5758 GB, free: 33.86 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.004842/0.4395, allocations: 3.534 MB / 0.5792 GB, free: 31.87 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.4413, allocations: 1.518 MB / 0.5807 GB, free: 30.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.4428, allocations: 0.8732 MB / 0.5816 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.4429, allocations: 13.05 kB / 0.5816 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.4429, allocations: 49.41 kB / 0.5816 GB, free: 30.57 MB / 430.1 MB Notification: Performance of pre-optimization done (n=98): time 3.847e-06/0.4429, allocations: 0.6562 kB / 0.5816 GB, free: 30.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=98): time 0.02432/0.4673, allocations: 8.176 MB / 0.5896 GB, free: 29.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/0.4674, allocations: 68.06 kB / 0.5897 GB, free: 29.08 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.4686, allocations: 0.8848 MB / 0.5905 GB, free: 28.7 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.4688, allocations: 45.48 kB / 0.5906 GB, free: 28.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4691, allocations: 492 kB / 0.591 GB, free: 28.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.4695, allocations: 355 kB / 0.5914 GB, free: 27.99 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.133e-05/0.4695, allocations: 24.28 kB / 0.5914 GB, free: 27.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.149e-05/0.4696, allocations: 352.1 kB / 0.5917 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4715, allocations: 0.8176 MB / 0.5925 GB, free: 27.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.4735, allocations: 0.9477 MB / 0.5935 GB, free: 27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.4753, allocations: 0.8732 MB / 0.5943 GB, free: 26.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.4753, allocations: 1.281 kB / 0.5943 GB, free: 26.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01427/0.4896, allocations: 5.238 MB / 0.5994 GB, free: 25.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4896, allocations: 11.78 kB / 0.5995 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4896, allocations: 2.344 kB / 0.5995 GB, free: 25.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006405/0.4961, allocations: 2.097 MB / 0.6015 GB, free: 25.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.4972, allocations: 232.8 kB / 0.6017 GB, free: 25.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02042/0.5177, allocations: 9.511 MB / 0.611 GB, free: 20.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.5193, allocations: 225.6 kB / 0.6112 GB, free: 20.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.5195, allocations: 39.38 kB / 0.6113 GB, free: 20.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.0004978/0.52, allocations: 244.6 kB / 0.6115 GB, free: 20.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.5202, allocations: 122.5 kB / 0.6116 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.5326, allocations: 4.946 MB / 0.6164 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.5327, allocations: 12 kB / 0.6165 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.5327, allocations: 1 kB / 0.6165 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/0.5328, allocations: 11.92 kB / 0.6165 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.5461, allocations: 6.548 MB / 0.6229 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5462, allocations: 0 / 0.6229 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007305/0.5469, allocations: 147.8 kB / 0.623 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005238/0.5522, allocations: 2.056 MB / 0.625 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/0.5524, allocations: 20 kB / 0.625 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/0.5675, allocations: 8.19 MB / 0.633 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5675, allocations: 0 / 0.633 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.583, allocations: 5.974 MB / 0.6389 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.5835, allocations: 207.4 kB / 0.6391 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.5837, allocations: 16 kB / 0.6391 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.5847, allocations: 164.5 kB / 0.6392 GB, free: 8.211 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007489/0.5855, allocations: 216.4 kB / 0.6394 GB, free: 8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.862e-05/0.5856, allocations: 31.98 kB / 0.6395 GB, free: 7.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008636/0.5865, allocations: 0.5852 MB / 0.64 GB, free: 7.371 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5865, allocations: 0 / 0.64 GB, free: 7.371 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001616/0.5881, allocations: 443.4 kB / 0.6405 GB, free: 6.938 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 (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.01554/0.6036, allocations: 6.557 MB / 0.6469 GB, free: 356 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00698/0.6107, allocations: 2.782 MB / 0.6496 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6107, allocations: 64 / 0.6496 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004646/0.6154, allocations: 1.817 MB / 0.6514 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.6163, allocations: 81.92 kB / 0.6514 GB, free: 11.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.6409, allocations: 11.68 MB / 0.6628 GB, free: 15.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006861/0.6416, allocations: 1.099 MB / 0.6639 GB, free: 14.55 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004486/0.6421, allocations: 89.81 kB / 0.664 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005662/0.6427, allocations: 443.3 kB / 0.6644 GB, free: 14.02 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6427, allocations: 0 / 0.6644 GB, free: 14.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0496/0.6923, allocations: 29.8 MB / 0.6935 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.6925, allocations: 212.5 kB / 0.6937 GB, free: 388 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.165, allocations: 0 / 0.6937 GB, free: 388 kB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1) Environment - environmentSimulation: