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.007968/0.007968, allocations: 170.5 kB / 15.12 MB, free: 5.559 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.449/1.449, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009008/0.0009008, allocations: 104.6 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4869/0.4869, allocations: 78.58 MB / 419.9 MB, free: 44.13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004915/0.0004921, allocations: 12 kB / 499.8 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3672, allocations: 69.35 MB / 0.5559 GB, free: 38.92 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_perturbation): time 0.005976/0.3732, allocations: 5.658 MB / 0.5614 GB, free: 37.94 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.3771, allocations: 1.851 MB / 0.5632 GB, free: 36.62 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001039/0.3782, allocations: 15.44 kB / 0.5632 GB, free: 36.62 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.3787, allocations: 160.6 kB / 0.5634 GB, free: 36.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.3805, allocations: 0.6572 MB / 0.564 GB, free: 36.09 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.001356/0.3819, allocations: 0.5165 MB / 0.5645 GB, free: 35.83 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3834, allocations: 0.9233 MB / 0.5654 GB, free: 35.33 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004168/0.3838, allocations: 266.8 kB / 0.5657 GB, free: 35.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006443/0.3845, allocations: 0.5039 MB / 0.5662 GB, free: 34.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006949/0.3852, allocations: 0.6279 MB / 0.5668 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.3853, allocations: 52.72 kB / 0.5668 GB, free: 34.68 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004255/0.3858, allocations: 158.7 kB / 0.567 GB, free: 34.66 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3859, allocations: 219.3 kB / 0.5672 GB, free: 34.53 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.3861, allocations: 224.6 kB / 0.5674 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008627/0.387, allocations: 1.057 MB / 0.5684 GB, free: 34.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.387, allocations: 0 / 0.5684 GB, free: 34.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.387, allocations: 4 kB / 0.5684 GB, free: 34.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.387, allocations: 1.094 kB / 0.5684 GB, free: 34.05 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.0076/0.3946, allocations: 2.403 MB / 0.5708 GB, free: 33.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.3947, allocations: 8.031 kB / 0.5708 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003313/0.395, allocations: 135.1 kB / 0.5709 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005084/0.4001, allocations: 0.784 MB / 0.5717 GB, free: 32.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.4018, allocations: 0.7207 MB / 0.5724 GB, free: 32.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002651/0.402, allocations: 274.5 kB / 0.5726 GB, free: 32.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001463/0.4022, allocations: 85.66 kB / 0.5727 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002421/0.4046, allocations: 1.155 MB / 0.5739 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.4047, allocations: 1.344 kB / 0.5739 GB, free: 31.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.4048, allocations: 33.89 kB / 0.5739 GB, free: 31.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.4048, allocations: 22.95 kB / 0.5739 GB, free: 31.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.4072, allocations: 1.235 MB / 0.5751 GB, free: 31.21 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.005425/0.4126, allocations: 3.633 MB / 0.5787 GB, free: 29.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/0.4146, allocations: 1.527 MB / 0.5802 GB, free: 28.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-05/0.4147, allocations: 16.92 kB / 0.5802 GB, free: 28.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.4148, allocations: 42.47 kB / 0.5802 GB, free: 28.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 3.878e-06/0.4148, allocations: 0 / 0.5802 GB, free: 28.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02663/0.4414, allocations: 8.171 MB / 0.5882 GB, free: 26.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.4415, allocations: 69.44 kB / 0.5883 GB, free: 26.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4426, allocations: 0.8764 MB / 0.5891 GB, free: 26.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000194/0.4428, allocations: 45.55 kB / 0.5892 GB, free: 26.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.4431, allocations: 495.3 kB / 0.5896 GB, free: 25.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.4434, allocations: 351.5 kB / 0.59 GB, free: 25.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.911e-05/0.4435, allocations: 22.12 kB / 0.59 GB, free: 25.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.667e-05/0.4436, allocations: 355.3 kB / 0.5903 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.4454, allocations: 0.8196 MB / 0.5911 GB, free: 24.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.4473, allocations: 0.9447 MB / 0.592 GB, free: 24.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.4494, allocations: 0.8677 MB / 0.5929 GB, free: 24.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4494, allocations: 1.375 kB / 0.5929 GB, free: 24.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01581/0.4652, allocations: 5.25 MB / 0.598 GB, free: 23.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.4653, allocations: 7.688 kB / 0.598 GB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.4653, allocations: 2.688 kB / 0.598 GB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007112/0.4724, allocations: 2.092 MB / 0.6001 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4737, allocations: 241.7 kB / 0.6003 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0237/0.4974, allocations: 9.974 MB / 0.61 GB, free: 17.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/0.4993, allocations: 225 kB / 0.6103 GB, free: 17.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.4995, allocations: 39.98 kB / 0.6103 GB, free: 17.66 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.0005584/0.5001, allocations: 243.1 kB / 0.6105 GB, free: 17.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/0.5004, allocations: 118.5 kB / 0.6106 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/0.5139, allocations: 4.951 MB / 0.6155 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.5139, allocations: 12 kB / 0.6155 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.514, allocations: 0 / 0.6155 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.514, allocations: 7.969 kB / 0.6155 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.5288, allocations: 6.55 MB / 0.6219 GB, free: 6.086 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5288, allocations: 4 kB / 0.6219 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007351/0.5296, allocations: 143.8 kB / 0.622 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005833/0.5354, allocations: 2.046 MB / 0.624 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.5356, allocations: 19.98 kB / 0.6241 GB, free: 3.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01826/0.5538, allocations: 8.643 MB / 0.6325 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5539, allocations: 0 / 0.6325 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/0.5704, allocations: 5.974 MB / 0.6383 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004157/0.5709, allocations: 207.4 kB / 0.6385 GB, free: 4.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.571, allocations: 19.94 kB / 0.6385 GB, free: 4.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.5722, allocations: 151.9 kB / 0.6387 GB, free: 4.699 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006281/0.5728, allocations: 228.5 kB / 0.6389 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.5729, allocations: 24 kB / 0.6389 GB, free: 4.453 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006992/0.5736, allocations: 0.5891 MB / 0.6395 GB, free: 3.855 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5736, allocations: 0 / 0.6395 GB, free: 3.855 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001252/0.5748, allocations: 451.3 kB / 0.6399 GB, free: 3.414 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.01675/0.5916, allocations: 6.553 MB / 0.6463 GB, free: 12.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007316/0.599, allocations: 2.779 MB / 0.649 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.599, allocations: 0 / 0.649 GB, free: 10.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004948/0.6039, allocations: 1.798 MB / 0.6508 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.6046, allocations: 81.94 kB / 0.6509 GB, free: 8.148 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004513/0.6091, allocations: 4.291 MB / 0.6551 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000598/0.6097, allocations: 1.123 MB / 0.6562 GB, free: 2.613 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.6101, allocations: 90.77 kB / 0.6563 GB, free: 2.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005348/0.6106, allocations: 443.3 kB / 0.6567 GB, free: 2.086 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.6106, allocations: 0 / 0.6567 GB, free: 2.086 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04568/0.6563, allocations: 29.21 MB / 0.6852 GB, free: 5.086 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001603/0.6565, allocations: 215.6 kB / 0.6854 GB, free: 4.848 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.683/3.339, allocations: 0 / 0.6854 GB, free: 4.848 MB / 490.7 MB (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)