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: translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009873/0.0009873, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.274/1.274, allocations: 223.2 MB / 238.9 MB, free: 5.406 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.001082/0.001082, allocations: 181.1 kB / 290.2 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4288/0.4288, allocations: 79.45 MB / 420.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005401/0.0005401, allocations: 12 kB / 0.489 GB, free: 5.609 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1774, allocations: 69.5 MB / 0.5569 GB, free: 48 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2): time 0.2106/0.3881, allocations: 5.067 MB / 0.5618 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002688/0.3909, allocations: 1.751 MB / 0.5635 GB, free: 37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004151/0.3913, allocations: 16.09 kB / 0.5635 GB, free: 37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003257/0.3916, allocations: 140.8 kB / 0.5637 GB, free: 36.94 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.3929, allocations: 0.6214 MB / 0.5643 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008885/0.3937, allocations: 492.3 kB / 0.5648 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000888/0.3946, allocations: 0.8218 MB / 0.5656 GB, free: 36.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.3949, allocations: 215.8 kB / 0.5658 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000392/0.3953, allocations: 467.8 kB / 0.5662 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.3958, allocations: 0.5518 MB / 0.5668 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.98e-05/0.3959, allocations: 51 kB / 0.5668 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.3962, allocations: 162.5 kB / 0.567 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.3963, allocations: 182.8 kB / 0.5671 GB, free: 36.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.3964, allocations: 202.7 kB / 0.5673 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007274/0.3972, allocations: 0.9522 MB / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3972, allocations: 0.625 kB / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3972, allocations: 0 / 0.5683 GB, free: 36.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3972, allocations: 4.219 kB / 0.5683 GB, free: 36.09 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.006238/0.4035, allocations: 2.194 MB / 0.5704 GB, free: 35.3 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.4035, allocations: 8.906 kB / 0.5704 GB, free: 35.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/0.4081, allocations: 0.7728 MB / 0.5712 GB, free: 35.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008863/0.409, allocations: 0.6628 MB / 0.5718 GB, free: 34.9 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/0.4092, allocations: 265.6 kB / 0.5721 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.4094, allocations: 68.78 kB / 0.5721 GB, free: 34.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4112, allocations: 1.024 MB / 0.5731 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.4112, allocations: 2.156 kB / 0.5731 GB, free: 34.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.4113, allocations: 25.91 kB / 0.5732 GB, free: 34.5 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.4113, allocations: 18.05 kB / 0.5732 GB, free: 34.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.4131, allocations: 1.058 MB / 0.5742 GB, free: 34.17 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.004886/0.418, allocations: 3.38 MB / 0.5775 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4196, allocations: 1.381 MB / 0.5789 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.163e-05/0.4197, allocations: 12.72 kB / 0.5789 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.4198, allocations: 42.56 kB / 0.5789 GB, free: 31.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.776e-06/0.4198, allocations: 4 kB / 0.5789 GB, free: 31.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02525/0.445, allocations: 8.009 MB / 0.5867 GB, free: 29.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.4451, allocations: 60.91 kB / 0.5868 GB, free: 29.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4462, allocations: 0.7815 MB / 0.5876 GB, free: 29.46 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000226/0.4464, allocations: 45.7 kB / 0.5876 GB, free: 29.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.4467, allocations: 433.1 kB / 0.588 GB, free: 29.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002721/0.447, allocations: 295.7 kB / 0.5883 GB, free: 28.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.492e-05/0.447, allocations: 20.34 kB / 0.5883 GB, free: 28.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.416e-05/0.4471, allocations: 353.8 kB / 0.5886 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.4486, allocations: 0.7239 MB / 0.5894 GB, free: 28.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4501, allocations: 0.8505 MB / 0.5902 GB, free: 27.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001523/0.4517, allocations: 0.787 MB / 0.591 GB, free: 27.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.4517, allocations: 4 kB / 0.591 GB, free: 27.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01417/0.4659, allocations: 5.03 MB / 0.5959 GB, free: 26.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4659, allocations: 5.688 kB / 0.5959 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.4659, allocations: 3.688 kB / 0.5959 GB, free: 26.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006686/0.4726, allocations: 2.083 MB / 0.5979 GB, free: 26.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.4736, allocations: 183 kB / 0.5981 GB, free: 26.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02121/0.4948, allocations: 9.973 MB / 0.6078 GB, free: 21.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.4963, allocations: 193.3 kB / 0.608 GB, free: 21.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.777e-05/0.4964, allocations: 37.06 kB / 0.608 GB, free: 21.75 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.0004266/0.4968, allocations: 232.8 kB / 0.6083 GB, free: 21.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.497, allocations: 105.3 kB / 0.6084 GB, free: 21.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.5099, allocations: 4.718 MB / 0.613 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.5099, allocations: 8 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.5099, allocations: 4 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.51, allocations: 4.781 kB / 0.613 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.5237, allocations: 6.257 MB / 0.6191 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/0.5238, allocations: 1.453 kB / 0.6191 GB, free: 12.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005268/0.5243, allocations: 95.89 kB / 0.6192 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005488/0.5298, allocations: 2.047 MB / 0.6212 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.5299, allocations: 16 kB / 0.6212 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01638/0.5463, allocations: 8.637 MB / 0.6296 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5464, allocations: 1.562 kB / 0.6296 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.561, allocations: 5.68 MB / 0.6352 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.5614, allocations: 187.6 kB / 0.6354 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.5616, allocations: 15.95 kB / 0.6354 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009851/0.5626, allocations: 131.9 kB / 0.6355 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005423/0.5632, allocations: 200.6 kB / 0.6357 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.5632, allocations: 21.12 kB / 0.6357 GB, free: 11.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006118/0.5639, allocations: 0.5263 MB / 0.6362 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5639, allocations: 0 / 0.6362 GB, free: 11.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001182/0.5651, allocations: 415.5 kB / 0.6366 GB, free: 10.64 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.0002269/0.5653, allocations: 126.4 kB / 0.6368 GB, free: 10.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00625/0.5716, allocations: 2.576 MB / 0.6393 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5716, allocations: 5.531 kB / 0.6393 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004589/0.5762, allocations: 1.7 MB / 0.6409 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/0.5768, allocations: 66.69 kB / 0.641 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.5799, allocations: 2.132 MB / 0.6431 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005573/0.5805, allocations: 1.053 MB / 0.6441 GB, free: 2.949 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003201/0.5808, allocations: 76.7 kB / 0.6442 GB, free: 2.875 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.581, allocations: 59.42 kB / 0.6442 GB, free: 2.82 MB / 446.1 MB Notification: Performance of SimCode: time 5.61e-07/0.581, allocations: 3.938 kB / 0.6442 GB, free: 2.816 MB / 446.1 MB Notification: Performance of Templates: time 0.03025/0.6112, allocations: 19.04 MB / 0.6628 GB, free: 15.95 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2.pipe 2>&1)