Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.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,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order4test2,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2",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.008681/0.00868, allocations: 171.2 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.349/1.349, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008925/0.0008926, allocations: 105.4 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.4959/0.4959, allocations: 78.6 MB / 419.9 MB, free: 44.27 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004059, allocations: 12 kB / 499.8 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3748, allocations: 69.35 MB / 0.5559 GB, free: 39.05 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.0058/0.3806, allocations: 5.052 MB / 0.5608 GB, free: 38.46 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.3846, allocations: 1.726 MB / 0.5625 GB, free: 37.23 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.386, allocations: 10.03 kB / 0.5625 GB, free: 37.23 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008439/0.3868, allocations: 141.2 kB / 0.5626 GB, free: 37.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.3894, allocations: 0.628 MB / 0.5632 GB, free: 36.75 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.001422/0.3908, allocations: 496.1 kB / 0.5637 GB, free: 36.5 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.3928, allocations: 0.8183 MB / 0.5645 GB, free: 36.05 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.3934, allocations: 222.3 kB / 0.5647 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009946/0.3944, allocations: 461.2 kB / 0.5652 GB, free: 35.74 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.3958, allocations: 0.5588 MB / 0.5657 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004166/0.3962, allocations: 47.78 kB / 0.5657 GB, free: 35.48 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.3972, allocations: 159.7 kB / 0.5659 GB, free: 35.45 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003873/0.3976, allocations: 189.3 kB / 0.5661 GB, free: 35.34 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.3982, allocations: 199.9 kB / 0.5663 GB, free: 35.21 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.3997, allocations: 0.9532 MB / 0.5672 GB, free: 34.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.3997, allocations: 0 / 0.5672 GB, free: 34.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3997, allocations: 0 / 0.5672 GB, free: 34.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.848e-05/0.3998, allocations: 0 / 0.5672 GB, free: 34.91 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00762/0.4074, allocations: 2.2 MB / 0.5693 GB, free: 33.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.4075, allocations: 11.56 kB / 0.5694 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003069/0.4078, allocations: 116.5 kB / 0.5695 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.4126, allocations: 0.7715 MB / 0.5702 GB, free: 33.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.4139, allocations: 0.6723 MB / 0.5709 GB, free: 33.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.4142, allocations: 262.5 kB / 0.5711 GB, free: 33.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/0.4143, allocations: 66.72 kB / 0.5712 GB, free: 33.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.4162, allocations: 1.025 MB / 0.5722 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4163, allocations: 0 / 0.5722 GB, free: 32.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.4164, allocations: 25.69 kB / 0.5722 GB, free: 32.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.4164, allocations: 20.39 kB / 0.5722 GB, free: 32.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.4183, allocations: 1.058 MB / 0.5733 GB, free: 32.3 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.005003/0.4233, allocations: 3.342 MB / 0.5765 GB, free: 30.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001831/0.4252, allocations: 1.378 MB / 0.5779 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-05/0.4253, allocations: 16.88 kB / 0.5779 GB, free: 29.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.4253, allocations: 42.38 kB / 0.5779 GB, free: 29.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/0.4253, allocations: 0 / 0.5779 GB, free: 29.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=83): time 0.02651/0.4518, allocations: 8.02 MB / 0.5858 GB, free: 27.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.4519, allocations: 59.41 kB / 0.5858 GB, free: 27.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.4529, allocations: 0.7829 MB / 0.5866 GB, free: 27.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.4531, allocations: 40.92 kB / 0.5866 GB, free: 27.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002776/0.4534, allocations: 426.2 kB / 0.587 GB, free: 27.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002942/0.4537, allocations: 307.8 kB / 0.5873 GB, free: 26.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.4538, allocations: 21.31 kB / 0.5874 GB, free: 26.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.4539, allocations: 347.2 kB / 0.5877 GB, free: 26.62 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.4553, allocations: 0.7308 MB / 0.5884 GB, free: 26.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4569, allocations: 0.8489 MB / 0.5892 GB, free: 26.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.4585, allocations: 0.7809 MB / 0.59 GB, free: 25.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.4585, allocations: 0.9688 kB / 0.59 GB, free: 25.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01541/0.4739, allocations: 5.03 MB / 0.5949 GB, free: 24.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.474, allocations: 15.56 kB / 0.5949 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.474, allocations: 2.875 kB / 0.5949 GB, free: 24.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007228/0.4812, allocations: 2.093 MB / 0.597 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.4822, allocations: 182.4 kB / 0.5971 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/0.5057, allocations: 9.98 MB / 0.6069 GB, free: 19.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.5076, allocations: 192.3 kB / 0.6071 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.5078, allocations: 37.64 kB / 0.6071 GB, free: 19.85 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 (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.0005309/0.5083, allocations: 229.7 kB / 0.6073 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001863/0.5085, allocations: 104.8 kB / 0.6074 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.5227, allocations: 4.724 MB / 0.612 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/0.5228, allocations: 8 kB / 0.612 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.5228, allocations: 0 / 0.612 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.088e-05/0.5228, allocations: 11.92 kB / 0.6121 GB, free: 16.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/0.5376, allocations: 6.281 MB / 0.6182 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.5377, allocations: 4 kB / 0.6182 GB, free: 9.879 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005745/0.5382, allocations: 99.88 kB / 0.6183 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006057/0.5443, allocations: 2.05 MB / 0.6203 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.5445, allocations: 16 kB / 0.6203 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01825/0.5627, allocations: 8.639 MB / 0.6287 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5628, allocations: 0 / 0.6287 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01663/0.5794, allocations: 5.712 MB / 0.6343 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004412/0.5799, allocations: 191.6 kB / 0.6345 GB, free: 8.984 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.58, allocations: 19.95 kB / 0.6345 GB, free: 8.965 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5811, allocations: 127.9 kB / 0.6346 GB, free: 8.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005691/0.5816, allocations: 196.6 kB / 0.6348 GB, free: 8.648 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.819e-05/0.5817, allocations: 31.98 kB / 0.6349 GB, free: 8.617 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000703/0.5824, allocations: 0.5224 MB / 0.6354 GB, free: 8.098 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5824, allocations: 0 / 0.6354 GB, free: 8.098 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001413/0.5839, allocations: 415.5 kB / 0.6358 GB, free: 7.691 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 (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.01666/0.6005, allocations: 6.28 MB / 0.6419 GB, free: 1.375 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007055/0.6076, allocations: 2.582 MB / 0.6444 GB, free: 14.79 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6077, allocations: 4.562 kB / 0.6444 GB, free: 14.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005094/0.6128, allocations: 1.7 MB / 0.6461 GB, free: 13.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.6135, allocations: 68.92 kB / 0.6462 GB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.6178, allocations: 3.927 MB / 0.65 GB, free: 8.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/0.6185, allocations: 1.053 MB / 0.651 GB, free: 7.902 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.6188, allocations: 78.31 kB / 0.6511 GB, free: 7.824 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004657/0.6193, allocations: 375.2 kB / 0.6514 GB, free: 7.457 MB / 458.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6193, allocations: 0 / 0.6514 GB, free: 7.457 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.6668, allocations: 27.07 MB / 0.6779 GB, free: 12.55 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.667, allocations: 201.6 kB / 0.6781 GB, free: 12.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.633/3.3, allocations: 0 / 0.6781 GB, free: 12.32 MB / 490.7 MB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order4test2.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)