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.001059/0.001059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.358/1.358, allocations: 223.3 MB / 239 MB, free: 5.445 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.001302/0.001302, allocations: 184.5 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4887/0.4887, allocations: 78.55 MB / 419.9 MB, free: 4.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003528, allocations: 16 kB / 499.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 69.37 MB / 0.5559 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2606/0.4031, allocations: 5.336 MB / 0.5611 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.4066, allocations: 1.677 MB / 0.5627 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009726/0.4076, allocations: 10.56 kB / 0.5628 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004883/0.4082, allocations: 143.9 kB / 0.5629 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.4099, allocations: 0.5737 MB / 0.5635 GB, free: 36.92 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.001094/0.411, allocations: 493.1 kB / 0.5639 GB, free: 36.89 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4123, allocations: 1.138 MB / 0.565 GB, free: 36.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.4127, allocations: 212.2 kB / 0.5652 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.4133, allocations: 462.3 kB / 0.5657 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005485/0.4138, allocations: 0.5698 MB / 0.5662 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.569e-05/0.414, allocations: 46.78 kB / 0.5663 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.4144, allocations: 174.3 kB / 0.5664 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001351/0.4145, allocations: 195 kB / 0.5666 GB, free: 36.2 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.4147, allocations: 194.6 kB / 0.5668 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007665/0.4154, allocations: 0.9946 MB / 0.5678 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4155, allocations: 5.344 kB / 0.5678 GB, free: 35.95 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4155, allocations: 0 / 0.5678 GB, free: 35.95 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4155, allocations: 3.938 kB / 0.5678 GB, free: 35.95 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.006139/0.4216, allocations: 2.198 MB / 0.5699 GB, free: 35.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4217, allocations: 12.19 kB / 0.57 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.4219, allocations: 116.8 kB / 0.5701 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.4265, allocations: 0.77 MB / 0.5708 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.4277, allocations: 0.6643 MB / 0.5715 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4279, allocations: 264.2 kB / 0.5717 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.4281, allocations: 68.41 kB / 0.5718 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.4299, allocations: 1.03 MB / 0.5728 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.43, allocations: 0.5625 kB / 0.5728 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.267e-05/0.4301, allocations: 26 kB / 0.5728 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.4301, allocations: 23.27 kB / 0.5728 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.4319, allocations: 1.062 MB / 0.5739 GB, free: 34.42 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.004787/0.4367, allocations: 3.24 MB / 0.577 GB, free: 32.89 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/0.4385, allocations: 1.384 MB / 0.5784 GB, free: 31.99 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4397, allocations: 0.7675 MB / 0.5791 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.4399, allocations: 21.41 kB / 0.5792 GB, free: 31.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.4399, allocations: 41.06 kB / 0.5792 GB, free: 31.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 3.947e-06/0.4399, allocations: 4 kB / 0.5792 GB, free: 31.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02419/0.4641, allocations: 8.02 MB / 0.587 GB, free: 30.29 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.4642, allocations: 64.59 kB / 0.5871 GB, free: 30.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.4653, allocations: 0.7846 MB / 0.5879 GB, free: 29.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002132/0.4655, allocations: 40.67 kB / 0.5879 GB, free: 29.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.4658, allocations: 422.7 kB / 0.5883 GB, free: 29.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002709/0.466, allocations: 303.8 kB / 0.5886 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.269e-05/0.4661, allocations: 20.34 kB / 0.5886 GB, free: 29.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.4662, allocations: 348 kB / 0.5889 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.4676, allocations: 0.7349 MB / 0.5897 GB, free: 28.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.4691, allocations: 0.8593 MB / 0.5905 GB, free: 28.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.4706, allocations: 0.7835 MB / 0.5913 GB, free: 28.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.4706, allocations: 0 / 0.5913 GB, free: 28.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01384/0.4845, allocations: 5.034 MB / 0.5962 GB, free: 26.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.4846, allocations: 5.812 kB / 0.5962 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4846, allocations: 2.5 kB / 0.5962 GB, free: 26.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006602/0.4912, allocations: 2.086 MB / 0.5982 GB, free: 26.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009895/0.4922, allocations: 182.6 kB / 0.5984 GB, free: 26.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02178/0.514, allocations: 9.523 MB / 0.6077 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.5155, allocations: 192 kB / 0.6079 GB, free: 22.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.5157, allocations: 35.75 kB / 0.6079 GB, free: 22.34 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.0004701/0.5161, allocations: 228.9 kB / 0.6081 GB, free: 22.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.5164, allocations: 104.2 kB / 0.6082 GB, free: 22.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.5292, allocations: 4.725 MB / 0.6129 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.5293, allocations: 8 kB / 0.6129 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5293, allocations: 0 / 0.6129 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.5293, allocations: 4.359 kB / 0.6129 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.5425, allocations: 6.289 MB / 0.619 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.5425, allocations: 0 / 0.619 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005358/0.5431, allocations: 95.89 kB / 0.6191 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005284/0.5484, allocations: 2.054 MB / 0.6211 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.5486, allocations: 16 kB / 0.6211 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01507/0.5636, allocations: 8.192 MB / 0.6291 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5637, allocations: 1.125 kB / 0.6291 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01424/0.578, allocations: 5.712 MB / 0.6347 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004956/0.5785, allocations: 196.5 kB / 0.6349 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.5788, allocations: 15.95 kB / 0.6349 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/0.5798, allocations: 131.9 kB / 0.635 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006709/0.5805, allocations: 200.5 kB / 0.6352 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.5806, allocations: 20 kB / 0.6352 GB, free: 12.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007152/0.5813, allocations: 0.5302 MB / 0.6358 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5813, allocations: 0 / 0.6358 GB, free: 11.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001413/0.5827, allocations: 415.5 kB / 0.6362 GB, free: 11.33 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.01518/0.5979, allocations: 6.288 MB / 0.6423 GB, free: 5.004 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006678/0.6046, allocations: 2.582 MB / 0.6448 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.6047, allocations: 0 / 0.6448 GB, free: 2.418 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004601/0.6093, allocations: 1.697 MB / 0.6465 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.611, allocations: 83.84 kB / 0.6466 GB, free: 0.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/0.6356, allocations: 10.52 MB / 0.6568 GB, free: 5.875 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007399/0.6364, allocations: 1.029 MB / 0.6578 GB, free: 4.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004464/0.6368, allocations: 77.31 kB / 0.6579 GB, free: 4.746 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/0.6375, allocations: 375.3 kB / 0.6583 GB, free: 4.383 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.6375, allocations: 0 / 0.6583 GB, free: 4.383 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05349/0.691, allocations: 27.6 MB / 0.6852 GB, free: 9.125 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/0.6912, allocations: 199.7 kB / 0.6854 GB, free: 8.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.144, allocations: 0 / 0.6854 GB, free: 8.883 MB / 494.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: