Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.001012/0.001012, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.276/1.276, allocations: 223.2 MB / 238.9 MB, free: 5.598 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.00111/0.00111, allocations: 184.8 kB / 290.2 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4443/0.4443, allocations: 78.52 MB / 419.8 MB, free: 4.324 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 11.98 kB / 499.8 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 69.36 MB / 0.5558 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2078/0.3253, allocations: 5.051 MB / 0.5607 GB, free: 37.5 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3282, allocations: 1.718 MB / 0.5624 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005947/0.3288, allocations: 10.5 kB / 0.5624 GB, free: 37.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.3292, allocations: 146.2 kB / 0.5625 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.3307, allocations: 0.6183 MB / 0.5631 GB, free: 37.14 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.001009/0.3317, allocations: 487 kB / 0.5636 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.3331, allocations: 0.8185 MB / 0.5644 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.3335, allocations: 219.7 kB / 0.5646 GB, free: 37.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.3343, allocations: 462.8 kB / 0.5651 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.335, allocations: 0.5592 MB / 0.5656 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001272/0.3352, allocations: 46.59 kB / 0.5656 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.3357, allocations: 165.2 kB / 0.5658 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.3359, allocations: 187.3 kB / 0.566 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002487/0.3362, allocations: 195.9 kB / 0.5662 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.3375, allocations: 0.9518 MB / 0.5671 GB, free: 36.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3375, allocations: 1.375 kB / 0.5671 GB, free: 36.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3375, allocations: 0 / 0.5671 GB, free: 36.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.3375, allocations: 0 / 0.5671 GB, free: 36.64 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.009843/0.3474, allocations: 2.2 MB / 0.5692 GB, free: 35.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.3475, allocations: 13.88 kB / 0.5693 GB, free: 35.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004027/0.3479, allocations: 116.7 kB / 0.5694 GB, free: 35.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006296/0.3542, allocations: 0.7735 MB / 0.5701 GB, free: 35.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.3558, allocations: 0.6629 MB / 0.5708 GB, free: 35.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003487/0.3562, allocations: 264.1 kB / 0.571 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.3564, allocations: 66.03 kB / 0.5711 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.3593, allocations: 1.023 MB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3593, allocations: 3.031 kB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.3595, allocations: 27.72 kB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.3595, allocations: 22.44 kB / 0.5721 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.3623, allocations: 1.054 MB / 0.5732 GB, free: 35.13 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.007441/0.3698, allocations: 3.348 MB / 0.5764 GB, free: 33.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002659/0.3725, allocations: 1.389 MB / 0.5778 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.3726, allocations: 12.81 kB / 0.5778 GB, free: 32.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3727, allocations: 42.66 kB / 0.5778 GB, free: 32.33 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 4.137e-06/0.3727, allocations: 0 / 0.5778 GB, free: 32.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02763/0.4003, allocations: 8.016 MB / 0.5857 GB, free: 30.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4004, allocations: 65.06 kB / 0.5857 GB, free: 30.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4015, allocations: 0.7808 MB / 0.5865 GB, free: 30.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000197/0.4017, allocations: 41.2 kB / 0.5865 GB, free: 30.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.4019, allocations: 432.1 kB / 0.5869 GB, free: 30.18 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.4022, allocations: 302.4 kB / 0.5872 GB, free: 29.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.4023, allocations: 19.81 kB / 0.5873 GB, free: 29.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.193e-05/0.4023, allocations: 344 kB / 0.5876 GB, free: 29.61 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.4038, allocations: 0.7324 MB / 0.5883 GB, free: 29.36 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4054, allocations: 0.8511 MB / 0.5891 GB, free: 29.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.407, allocations: 0.7903 MB / 0.5899 GB, free: 28.68 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.407, allocations: 1.375 kB / 0.5899 GB, free: 28.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01485/0.4218, allocations: 5.035 MB / 0.5948 GB, free: 27.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.4219, allocations: 6.312 kB / 0.5948 GB, free: 27.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.4219, allocations: 6.797 kB / 0.5948 GB, free: 27.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006913/0.4288, allocations: 2.08 MB / 0.5969 GB, free: 27.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009458/0.4298, allocations: 182.4 kB / 0.597 GB, free: 27.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.4524, allocations: 9.976 MB / 0.6068 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.4539, allocations: 197.5 kB / 0.607 GB, free: 22.86 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.591e-05/0.454, allocations: 37.28 kB / 0.607 GB, free: 22.85 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 (99): * Single equations (assignments): 98 * 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.0004189/0.4544, allocations: 225.8 kB / 0.6072 GB, free: 22.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4546, allocations: 103.9 kB / 0.6073 GB, free: 22.61 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01361/0.4682, allocations: 4.724 MB / 0.6119 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.4682, allocations: 8 kB / 0.6119 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.4682, allocations: 0 / 0.6119 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/0.4683, allocations: 4.828 kB / 0.6119 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.4825, allocations: 6.287 MB / 0.6181 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.4826, allocations: 0.9375 kB / 0.6181 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005139/0.4831, allocations: 99.89 kB / 0.6182 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005776/0.4889, allocations: 2.053 MB / 0.6202 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.489, allocations: 12 kB / 0.6202 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01696/0.506, allocations: 8.637 MB / 0.6286 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.506, allocations: 4.938 kB / 0.6286 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/0.521, allocations: 5.713 MB / 0.6342 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.5214, allocations: 191.6 kB / 0.6344 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.5216, allocations: 20.77 kB / 0.6344 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009384/0.5226, allocations: 129.2 kB / 0.6345 GB, free: 12.95 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005565/0.5231, allocations: 200.6 kB / 0.6347 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.5232, allocations: 16 kB / 0.6347 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006217/0.5238, allocations: 0.5302 MB / 0.6353 GB, free: 12.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5238, allocations: 0 / 0.6353 GB, free: 12.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001289/0.5251, allocations: 415.5 kB / 0.6357 GB, free: 11.8 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 (50): * Single equations (assignments): 49 * 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.0157/0.5408, allocations: 6.28 MB / 0.6418 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006458/0.5473, allocations: 2.585 MB / 0.6443 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5474, allocations: 0 / 0.6443 GB, free: 2.895 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004592/0.552, allocations: 1.697 MB / 0.646 GB, free: 1.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.5525, allocations: 64.94 kB / 0.646 GB, free: 1.117 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.5564, allocations: 3.939 MB / 0.6499 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.5569, allocations: 1.053 MB / 0.6509 GB, free: 12.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.5572, allocations: 80.22 kB / 0.651 GB, free: 11.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004229/0.5576, allocations: 371.3 kB / 0.6513 GB, free: 11.61 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.5576, allocations: 4 kB / 0.6513 GB, free: 11.61 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04286/0.6005, allocations: 27.04 MB / 0.6778 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.6007, allocations: 199.6 kB / 0.6779 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/2.935, allocations: 0 / 0.6779 GB, free: 0.6641 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1) Environment - environmentSimulation: