Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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 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_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_dev_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.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.373/1.373, allocations: 222.9 MB / 238.9 MB, free: 4.746 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.001482/0.001483, allocations: 188.5 kB / 289.1 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5236/0.5236, allocations: 91.9 MB / 431.2 MB, free: 9.449 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 79.86 kB / 0.5013 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3735, allocations: 71.26 MB / 0.5709 GB, free: 36.33 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.005195/0.3787, allocations: 6.153 MB / 0.5769 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.3812, allocations: 1.822 MB / 0.5787 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.3816, allocations: 8.625 kB / 0.5787 GB, free: 31.72 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004032/0.382, allocations: 164 kB / 0.5789 GB, free: 31.66 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.3832, allocations: 0.6154 MB / 0.5795 GB, free: 31.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.3841, allocations: 0.532 MB / 0.58 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007699/0.3849, allocations: 1.191 MB / 0.5811 GB, free: 30.38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.3852, allocations: 242.7 kB / 0.5814 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003915/0.3856, allocations: 493.7 kB / 0.5819 GB, free: 30.05 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.386, allocations: 0.6153 MB / 0.5825 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.3861, allocations: 55.44 kB / 0.5825 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003201/0.3864, allocations: 194.7 kB / 0.5827 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3866, allocations: 206.8 kB / 0.5829 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.3869, allocations: 0.5204 MB / 0.5834 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00082/0.3877, allocations: 1.301 MB / 0.5847 GB, free: 28.65 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3877, allocations: 0 / 0.5847 GB, free: 28.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3877, allocations: 3.938 kB / 0.5847 GB, free: 28.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.3877, allocations: 4 kB / 0.5847 GB, free: 28.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.006842/0.3946, allocations: 2.353 MB / 0.587 GB, free: 27.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.3946, allocations: 11.77 kB / 0.587 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.3948, allocations: 118.9 kB / 0.5871 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004779/0.3996, allocations: 0.7572 MB / 0.5878 GB, free: 27.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008368/0.4004, allocations: 0.7032 MB / 0.5885 GB, free: 26.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002303/0.4007, allocations: 256.2 kB / 0.5888 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.4008, allocations: 65.62 kB / 0.5888 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.4026, allocations: 0.9617 MB / 0.5898 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4027, allocations: 0 / 0.5898 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.397e-05/0.4028, allocations: 28.95 kB / 0.5898 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.808e-05/0.4028, allocations: 16.44 kB / 0.5898 GB, free: 26.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.4048, allocations: 0.9839 MB / 0.5908 GB, free: 25.88 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.004827/0.4096, allocations: 3.207 MB / 0.5939 GB, free: 24.03 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.4114, allocations: 1.306 MB / 0.5952 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.4127, allocations: 0.7036 MB / 0.5959 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.4128, allocations: 16.94 kB / 0.5959 GB, free: 22.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.4128, allocations: 43.56 kB / 0.5959 GB, free: 22.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.124e-06/0.4128, allocations: 7.938 kB / 0.5959 GB, free: 22.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.0248/0.4376, allocations: 6.463 MB / 0.6022 GB, free: 21.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.4377, allocations: 64.44 kB / 0.6023 GB, free: 21.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.4389, allocations: 0.7924 MB / 0.6031 GB, free: 21.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.295e-05/0.439, allocations: 40.45 kB / 0.6031 GB, free: 21.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.4393, allocations: 437.3 kB / 0.6035 GB, free: 20.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.4396, allocations: 299.7 kB / 0.6038 GB, free: 20.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.44, allocations: 189.2 kB / 0.604 GB, free: 20.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.44, allocations: 344.5 kB / 0.6043 GB, free: 20.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.4414, allocations: 0.6603 MB / 0.605 GB, free: 19.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.4429, allocations: 0.784 MB / 0.6057 GB, free: 19.58 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01739/0.4603, allocations: 4.515 MB / 0.6101 GB, free: 18.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.4604, allocations: 1.25 kB / 0.6102 GB, free: 18.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01311/0.4735, allocations: 4.074 MB / 0.6141 GB, free: 17.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4735, allocations: 6 kB / 0.6141 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4735, allocations: 2.406 kB / 0.6141 GB, free: 17.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.4791, allocations: 1.737 MB / 0.6158 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/0.4799, allocations: 181.3 kB / 0.616 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01681/0.4967, allocations: 8.346 MB / 0.6242 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4981, allocations: 147.1 kB / 0.6243 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/0.4983, allocations: 43.98 kB / 0.6243 GB, free: 7.527 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-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 (101): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0004873/0.4988, allocations: 221.6 kB / 0.6245 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.4991, allocations: 102.7 kB / 0.6246 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.51, allocations: 3.809 MB / 0.6284 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.51, allocations: 12 kB / 0.6284 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.51, allocations: 3.938 kB / 0.6284 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.51, allocations: 7.922 kB / 0.6284 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.5231, allocations: 5.341 MB / 0.6336 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.5231, allocations: 3.984 kB / 0.6336 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004771/0.5236, allocations: 95.83 kB / 0.6337 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00574/0.5294, allocations: 1.741 MB / 0.6354 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.5295, allocations: 16 kB / 0.6354 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.5469, allocations: 7.343 MB / 0.6426 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5469, allocations: 0 / 0.6426 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01396/0.5609, allocations: 4.7 MB / 0.6472 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.5613, allocations: 183.6 kB / 0.6474 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/0.5616, allocations: 16 kB / 0.6474 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.5627, allocations: 99.83 kB / 0.6475 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/0.5633, allocations: 192.6 kB / 0.6476 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.5634, allocations: 24 kB / 0.6477 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.5642, allocations: 0.5341 MB / 0.6482 GB, free: 14.74 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5642, allocations: 0 / 0.6482 GB, free: 14.74 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001349/0.5656, allocations: 407.5 kB / 0.6486 GB, free: 14.34 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01421/0.5798, allocations: 5.273 MB / 0.6537 GB, free: 9.031 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006252/0.5861, allocations: 2.255 MB / 0.6559 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5861, allocations: 0 / 0.6559 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004511/0.5906, allocations: 1.475 MB / 0.6574 GB, free: 5.273 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.5916, allocations: 83.27 kB / 0.6575 GB, free: 5.191 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03677/0.6284, allocations: 14.93 MB / 0.672 GB, free: 5.938 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007708/0.6292, allocations: 1.037 MB / 0.673 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004174/0.6297, allocations: 86.3 kB / 0.6731 GB, free: 4.785 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005546/0.6303, allocations: 371.3 kB / 0.6735 GB, free: 4.422 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6303, allocations: 0 / 0.6735 GB, free: 4.422 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05138/0.6817, allocations: 28.2 MB / 0.701 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/0.6819, allocations: 216.3 kB / 0.7012 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/3.254, allocations: 0 / 0.7012 GB, free: 8.102 MB / 0.4981 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)