Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07515/0.07515, allocations: 12.21 MB / 27.33 MB, free: 1.441 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 119.4 kB / 30.84 MB, free: 4.711 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.224/1.224, allocations: 205.1 MB / 239.3 MB, free: 12.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 204.4 kB / 289.5 MB, free: 14.12 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.41/0.41, allocations: 78.51 MB / 418 MB, free: 12.02 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 128.9 kB / 498.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3141, allocations: 68.04 MB / 0.5531 GB, free: 32.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.006145/0.3202, allocations: 6.177 MB / 0.5591 GB, free: 28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.3239, allocations: 1.759 MB / 0.5608 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005259/0.3244, allocations: 11 kB / 0.5608 GB, free: 26.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005108/0.3249, allocations: 167.3 kB / 0.561 GB, free: 26.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001409/0.3264, allocations: 0.6125 MB / 0.5616 GB, free: 26.26 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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.001129/0.3275, allocations: 0.5375 MB / 0.5621 GB, free: 25.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001204/0.3287, allocations: 1.194 MB / 0.5633 GB, free: 25.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003541/0.3291, allocations: 245.4 kB / 0.5635 GB, free: 25.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.3296, allocations: 489.4 kB / 0.564 GB, free: 24.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005768/0.3302, allocations: 0.6257 MB / 0.5646 GB, free: 24.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.3304, allocations: 60.88 kB / 0.5647 GB, free: 24.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.3309, allocations: 188 kB / 0.5648 GB, free: 24.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.331, allocations: 215.4 kB / 0.5651 GB, free: 24.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.3315, allocations: 0.5109 MB / 0.5656 GB, free: 23.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.3326, allocations: 1.304 MB / 0.5668 GB, free: 22.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3326, allocations: 0 / 0.5668 GB, free: 22.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3326, allocations: 0 / 0.5668 GB, free: 22.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.3326, allocations: 0 / 0.5668 GB, free: 22.93 MB / 398.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.00705/0.3397, allocations: 2.352 MB / 0.5691 GB, free: 21.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3398, allocations: 16.61 kB / 0.5691 GB, free: 21.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.3399, allocations: 113.6 kB / 0.5692 GB, free: 21.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004685/0.3446, allocations: 0.7606 MB / 0.57 GB, free: 21.05 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.3455, allocations: 0.7035 MB / 0.5707 GB, free: 20.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002422/0.3458, allocations: 251.7 kB / 0.5709 GB, free: 20.22 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.3459, allocations: 75.25 kB / 0.571 GB, free: 20.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.3478, allocations: 0.9574 MB / 0.5719 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.3478, allocations: 0 / 0.5719 GB, free: 19.65 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.896e-05/0.3479, allocations: 29.12 kB / 0.5719 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.3479, allocations: 15.94 kB / 0.572 GB, free: 19.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.3499, allocations: 0.9758 MB / 0.5729 GB, free: 19.17 MB / 398.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.004837/0.3548, allocations: 3.19 MB / 0.576 GB, free: 16.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3565, allocations: 1.317 MB / 0.5773 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.3576, allocations: 0.697 MB / 0.578 GB, free: 14.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.992e-05/0.3577, allocations: 24.97 kB / 0.578 GB, free: 14.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.3577, allocations: 39.56 kB / 0.5781 GB, free: 14.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/0.3577, allocations: 0 / 0.5781 GB, free: 14.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.02278/0.3805, allocations: 6.473 MB / 0.5844 GB, free: 7.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3806, allocations: 64.34 kB / 0.5844 GB, free: 7.738 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.3816, allocations: 0.7868 MB / 0.5852 GB, free: 6.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/0.3817, allocations: 37.7 kB / 0.5852 GB, free: 6.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.382, allocations: 440.4 kB / 0.5857 GB, free: 6.465 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.3822, allocations: 299.7 kB / 0.586 GB, free: 6.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003315/0.3826, allocations: 186.8 kB / 0.5861 GB, free: 5.977 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/0.3826, allocations: 345.9 kB / 0.5865 GB, free: 5.633 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.3838, allocations: 0.6584 MB / 0.5871 GB, free: 4.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001231/0.3851, allocations: 0.7873 MB / 0.5879 GB, free: 4.152 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.4007, allocations: 4.519 MB / 0.5923 GB, free: 15.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.4007, allocations: 4 kB / 0.5923 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01228/0.413, allocations: 4.075 MB / 0.5963 GB, free: 11.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.4131, allocations: 4 kB / 0.5963 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4131, allocations: 4 kB / 0.5963 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005789/0.4189, allocations: 1.749 MB / 0.598 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009763/0.4199, allocations: 183.8 kB / 0.5982 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01994/0.4399, allocations: 8.327 MB / 0.6063 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.4415, allocations: 159 kB / 0.6064 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/0.4418, allocations: 35.98 kB / 0.6065 GB, free: 0.8945 MB / 414.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.0006805/0.4425, allocations: 224.8 kB / 0.6067 GB, free: 0.668 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.4428, allocations: 106.7 kB / 0.6068 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01222/0.4551, allocations: 3.809 MB / 0.6105 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4551, allocations: 8 kB / 0.6105 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4551, allocations: 0 / 0.6105 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.4552, allocations: 11.92 kB / 0.6105 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01459/0.4698, allocations: 5.387 MB / 0.6158 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.4698, allocations: 0 / 0.6158 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005856/0.4704, allocations: 87.89 kB / 0.6159 GB, free: 7.109 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005753/0.4762, allocations: 1.749 MB / 0.6176 GB, free: 5.355 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001834/0.4764, allocations: 15.94 kB / 0.6176 GB, free: 5.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01752/0.4939, allocations: 7.338 MB / 0.6248 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.494, allocations: 0 / 0.6248 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/0.5084, allocations: 4.731 MB / 0.6294 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.509, allocations: 191.7 kB / 0.6296 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004687/0.5095, allocations: 19.98 kB / 0.6296 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.5108, allocations: 87.89 kB / 0.6297 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007983/0.5116, allocations: 196.7 kB / 0.6299 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.5118, allocations: 20 kB / 0.6299 GB, free: 8.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009248/0.5127, allocations: 0.5341 MB / 0.6304 GB, free: 8.047 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5127, allocations: 0 / 0.6304 GB, free: 8.047 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002029/0.5147, allocations: 415.5 kB / 0.6308 GB, free: 7.641 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 (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.0154/0.5302, allocations: 5.311 MB / 0.636 GB, free: 2.297 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007045/0.5372, allocations: 2.263 MB / 0.6382 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5373, allocations: 0 / 0.6382 GB, free: 20 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004971/0.5423, allocations: 1.478 MB / 0.6396 GB, free: 14.53 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.544, allocations: 86.5 kB / 0.6397 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04/0.584, allocations: 14.94 MB / 0.6543 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/0.5848, allocations: 1.033 MB / 0.6553 GB, free: 14.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004325/0.5853, allocations: 74.31 kB / 0.6554 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/0.5859, allocations: 371.3 kB / 0.6557 GB, free: 13.67 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5859, allocations: 4 kB / 0.6557 GB, free: 13.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6325/1.218, allocations: 28.2 MB / 0.6833 GB, free: 1.531 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.219, allocations: 227.7 kB / 0.6835 GB, free: 1.273 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.692, allocations: 0 / 0.6835 GB, free: 1.273 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)