Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005541/0.005541, allocations: 167.4 kB / 15.13 MB, free: 6.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 239.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008186/0.0008185, allocations: 108.3 kB / 290.3 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4756/0.4756, allocations: 78.63 MB / 420 MB, free: 44.14 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 11.98 kB / 500 MB, free: 2.777 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4174/0.4178, allocations: 69.35 MB / 0.556 GB, free: 38.98 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.006191/0.424, allocations: 5.964 MB / 0.5618 GB, free: 37.71 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003584/0.4277, allocations: 1.815 MB / 0.5636 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006548/0.4284, allocations: 12.88 kB / 0.5636 GB, free: 36.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004083/0.4288, allocations: 157.3 kB / 0.5637 GB, free: 36.34 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001406/0.4302, allocations: 0.594 MB / 0.5643 GB, free: 35.95 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.001153/0.4314, allocations: 0.5216 MB / 0.5648 GB, free: 35.67 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4327, allocations: 1.286 MB / 0.5661 GB, free: 35.01 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004057/0.4331, allocations: 267.2 kB / 0.5663 GB, free: 34.89 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005872/0.4337, allocations: 0.5047 MB / 0.5668 GB, free: 34.67 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006147/0.4343, allocations: 0.6338 MB / 0.5675 GB, free: 34.39 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4345, allocations: 52.47 kB / 0.5675 GB, free: 34.39 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004262/0.4349, allocations: 186.6 kB / 0.5677 GB, free: 34.34 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001498/0.4351, allocations: 214.2 kB / 0.5679 GB, free: 34.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.4352, allocations: 222.9 kB / 0.5681 GB, free: 34.08 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008125/0.436, allocations: 1.105 MB / 0.5692 GB, free: 33.72 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.436, allocations: 0 / 0.5692 GB, free: 33.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4361, allocations: 1.5 kB / 0.5692 GB, free: 33.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4361, allocations: 4 kB / 0.5692 GB, free: 33.72 MB / 426.7 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.006833/0.4429, allocations: 2.394 MB / 0.5715 GB, free: 32.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.443, allocations: 11.97 kB / 0.5715 GB, free: 32.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.4432, allocations: 130.8 kB / 0.5717 GB, free: 32.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00474/0.4479, allocations: 0.7906 MB / 0.5724 GB, free: 32.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009138/0.4488, allocations: 0.7225 MB / 0.5731 GB, free: 31.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.4491, allocations: 275.5 kB / 0.5734 GB, free: 31.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.4492, allocations: 78.47 kB / 0.5735 GB, free: 31.67 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.4514, allocations: 1.163 MB / 0.5746 GB, free: 31.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4514, allocations: 0 / 0.5746 GB, free: 31.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.4515, allocations: 33.28 kB / 0.5746 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.4515, allocations: 24.7 kB / 0.5747 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.4539, allocations: 1.237 MB / 0.5759 GB, free: 30.89 MB / 426.7 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.004955/0.4589, allocations: 3.527 MB / 0.5793 GB, free: 28.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.4609, allocations: 1.532 MB / 0.5808 GB, free: 27.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4624, allocations: 0.8735 MB / 0.5817 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.881e-05/0.4625, allocations: 16.48 kB / 0.5817 GB, free: 27.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4626, allocations: 42.47 kB / 0.5817 GB, free: 27.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.116e-06/0.4626, allocations: 0 / 0.5817 GB, free: 27.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.0259/0.4885, allocations: 8.185 MB / 0.5897 GB, free: 26.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.4886, allocations: 61.56 kB / 0.5898 GB, free: 26.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.4898, allocations: 0.8833 MB / 0.5906 GB, free: 25.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001554/0.49, allocations: 41.14 kB / 0.5907 GB, free: 25.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002898/0.4903, allocations: 498 kB / 0.5911 GB, free: 25.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4906, allocations: 356.6 kB / 0.5915 GB, free: 25.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.4907, allocations: 24.47 kB / 0.5915 GB, free: 24.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.693e-05/0.4908, allocations: 355.7 kB / 0.5918 GB, free: 24.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.4926, allocations: 0.8165 MB / 0.5926 GB, free: 24.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.4944, allocations: 0.9463 MB / 0.5936 GB, free: 24.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4962, allocations: 0.8707 MB / 0.5944 GB, free: 23.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4962, allocations: 9.406 kB / 0.5944 GB, free: 23.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01556/0.5117, allocations: 5.234 MB / 0.5995 GB, free: 22.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5118, allocations: 6.5 kB / 0.5995 GB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.5118, allocations: 6.125 kB / 0.5996 GB, free: 22.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007062/0.5189, allocations: 2.104 MB / 0.6016 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.5202, allocations: 233.3 kB / 0.6018 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/0.542, allocations: 9.515 MB / 0.6111 GB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.5438, allocations: 228.7 kB / 0.6113 GB, free: 16.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/0.5439, allocations: 39.66 kB / 0.6114 GB, free: 16.74 MB / 426.7 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.0004418/0.5443, allocations: 241.6 kB / 0.6116 GB, free: 16.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.5445, allocations: 118.5 kB / 0.6117 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/0.558, allocations: 4.947 MB / 0.6166 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.5581, allocations: 12 kB / 0.6166 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5581, allocations: 4 kB / 0.6166 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/0.5581, allocations: 7.938 kB / 0.6166 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.5728, allocations: 6.55 MB / 0.623 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5729, allocations: 0 / 0.623 GB, free: 5.094 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007115/0.5736, allocations: 151.8 kB / 0.6231 GB, free: 4.945 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005826/0.5794, allocations: 2.046 MB / 0.6251 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001505/0.5796, allocations: 16 kB / 0.6251 GB, free: 2.879 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01755/0.5971, allocations: 8.191 MB / 0.6331 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5972, allocations: 0 / 0.6331 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/0.6139, allocations: 5.974 MB / 0.639 GB, free: 4.551 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005711/0.6145, allocations: 207.5 kB / 0.6392 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002457/0.6148, allocations: 16 kB / 0.6392 GB, free: 4.312 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.616, allocations: 159.9 kB / 0.6393 GB, free: 4.156 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007427/0.6168, allocations: 220.4 kB / 0.6395 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.893e-05/0.6169, allocations: 31.98 kB / 0.6396 GB, free: 3.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008096/0.6177, allocations: 0.5891 MB / 0.6401 GB, free: 3.312 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6177, allocations: 0 / 0.6401 GB, free: 3.312 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001399/0.6191, allocations: 447.4 kB / 0.6406 GB, free: 2.875 MB / 442.7 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.0171/0.6362, allocations: 6.561 MB / 0.647 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007196/0.6435, allocations: 2.786 MB / 0.6497 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6435, allocations: 0 / 0.6497 GB, free: 9.484 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004881/0.6484, allocations: 1.806 MB / 0.6515 GB, free: 7.668 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.6492, allocations: 82.14 kB / 0.6515 GB, free: 7.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/0.6746, allocations: 11.68 MB / 0.663 GB, free: 11.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005996/0.6752, allocations: 1.091 MB / 0.664 GB, free: 10.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004114/0.6757, allocations: 90.75 kB / 0.6641 GB, free: 10.36 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.6762, allocations: 443.3 kB / 0.6645 GB, free: 9.922 MB / 474.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6762, allocations: 0 / 0.6645 GB, free: 9.922 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.724, allocations: 29.82 MB / 0.6937 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/0.7243, allocations: 220.8 kB / 0.6939 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.988/3.712, allocations: 0 / 0.6939 GB, free: 12.07 MB / 0.4948 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation.pipe 2>&1)