Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.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_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.384/1.384, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001147/0.001147, allocations: 176.4 kB / 290.6 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5194/0.5194, allocations: 91.91 MB / 433.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 12 kB / 0.5048 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3679, allocations: 72.46 MB / 0.5755 GB, free: 36.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.004714/0.3726, allocations: 6.267 MB / 0.5816 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.3759, allocations: 2.006 MB / 0.5836 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005445/0.3765, allocations: 12.19 kB / 0.5836 GB, free: 31.15 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.377, allocations: 181.3 kB / 0.5838 GB, free: 31.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.3784, allocations: 0.6438 MB / 0.5844 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.3795, allocations: 0.6193 MB / 0.585 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001051/0.3806, allocations: 1.391 MB / 0.5864 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.381, allocations: 283.1 kB / 0.5866 GB, free: 29.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.3815, allocations: 0.5233 MB / 0.5872 GB, free: 29.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.382, allocations: 0.6593 MB / 0.5878 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.899e-05/0.3822, allocations: 55.69 kB / 0.5879 GB, free: 28.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.3825, allocations: 182.3 kB / 0.588 GB, free: 28.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3827, allocations: 226.2 kB / 0.5882 GB, free: 28.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.383, allocations: 0.5753 MB / 0.5888 GB, free: 28.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.384, allocations: 1.437 MB / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.384, allocations: 4 kB / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.384, allocations: 0 / 0.5902 GB, free: 27.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.384, allocations: 0 / 0.5902 GB, free: 27.86 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.007318/0.3914, allocations: 2.369 MB / 0.5925 GB, free: 26.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.3914, allocations: 7.875 kB / 0.5925 GB, free: 26.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004885/0.3963, allocations: 0.7805 MB / 0.5933 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.3976, allocations: 0.8109 MB / 0.5941 GB, free: 26.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002599/0.3979, allocations: 265.8 kB / 0.5943 GB, free: 25.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.3981, allocations: 73.84 kB / 0.5944 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.4004, allocations: 1.205 MB / 0.5956 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4004, allocations: 3.938 kB / 0.5956 GB, free: 25.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.436e-05/0.4005, allocations: 30.19 kB / 0.5956 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.4005, allocations: 18.47 kB / 0.5956 GB, free: 25.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.4029, allocations: 1.171 MB / 0.5968 GB, free: 25.05 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.006003/0.4089, allocations: 3.556 MB / 0.6003 GB, free: 23.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.4111, allocations: 1.518 MB / 0.6017 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.4127, allocations: 0.8255 MB / 0.6025 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.4128, allocations: 14.92 kB / 0.6026 GB, free: 21.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4128, allocations: 42.75 kB / 0.6026 GB, free: 21.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=90): time 2.976e-06/0.4129, allocations: 0 / 0.6026 GB, free: 21.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=90): time 0.02926/0.4421, allocations: 8.081 MB / 0.6105 GB, free: 20.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4422, allocations: 87.84 kB / 0.6106 GB, free: 20.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4438, allocations: 0.9459 MB / 0.6115 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002262/0.444, allocations: 40.92 kB / 0.6115 GB, free: 19.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.4444, allocations: 482.8 kB / 0.612 GB, free: 19.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003224/0.4447, allocations: 327.9 kB / 0.6123 GB, free: 19.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00017/0.4449, allocations: 103.1 kB / 0.6124 GB, free: 19.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.005e-05/0.445, allocations: 351.2 kB / 0.6127 GB, free: 18.8 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.4467, allocations: 0.775 MB / 0.6135 GB, free: 18.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.4484, allocations: 0.916 MB / 0.6144 GB, free: 18.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01977/0.4682, allocations: 5.231 MB / 0.6195 GB, free: 16.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4683, allocations: 7.875 kB / 0.6195 GB, free: 16.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01384/0.4821, allocations: 5.144 MB / 0.6245 GB, free: 11.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/0.4822, allocations: 153.1 kB / 0.6247 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4823, allocations: 7.938 kB / 0.6247 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00607/0.4883, allocations: 2.022 MB / 0.6267 GB, free: 8.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.4894, allocations: 215.7 kB / 0.6269 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01965/0.5091, allocations: 9.318 MB / 0.636 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.5109, allocations: 222.8 kB / 0.6362 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/0.5111, allocations: 35.98 kB / 0.6362 GB, free: 14.87 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.5111, allocations: 4 kB / 0.6362 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01501/0.5261, allocations: 4.988 MB / 0.6411 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.5262, allocations: 0 / 0.6411 GB, free: 9.871 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006784/0.533, allocations: 2.038 MB / 0.6431 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/0.5341, allocations: 203.7 kB / 0.6433 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02187/0.556, allocations: 9.317 MB / 0.6524 GB, free: 14.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/0.5577, allocations: 211.1 kB / 0.6526 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001128/0.5578, allocations: 32 kB / 0.6526 GB, free: 13.93 MB / 462.1 MB Warning: Assuming fixed start value for the following 2 variables: Generator.e1q:VARIABLE(start = Generator.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (111): * Single equations (assignments): 110 * 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.000628/0.5584, allocations: 320.8 kB / 0.6529 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.5587, allocations: 118.5 kB / 0.653 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/0.5737, allocations: 4.861 MB / 0.6578 GB, free: 8.613 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.5738, allocations: 12 kB / 0.6578 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5738, allocations: 0 / 0.6578 GB, free: 8.602 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-05/0.5738, allocations: 7.969 kB / 0.6578 GB, free: 8.594 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01764/0.5915, allocations: 6.485 MB / 0.6641 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/0.5915, allocations: 0 / 0.6641 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007205/0.5922, allocations: 115.9 kB / 0.6642 GB, free: 1.859 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006831/0.5991, allocations: 2.046 MB / 0.6662 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/0.5993, allocations: 16 kB / 0.6662 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/0.6191, allocations: 8.206 MB / 0.6743 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.6192, allocations: 0 / 0.6743 GB, free: 7.449 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0175/0.6367, allocations: 5.865 MB / 0.68 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/0.6372, allocations: 219.3 kB / 0.6802 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/0.6375, allocations: 23.94 kB / 0.6802 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.6387, allocations: 151.9 kB / 0.6804 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006061/0.6393, allocations: 192.7 kB / 0.6805 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.004e-05/0.6394, allocations: 27.98 kB / 0.6806 GB, free: 0.9375 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009436/0.6403, allocations: 0.643 MB / 0.6812 GB, free: 292 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6403, allocations: 0 / 0.6812 GB, free: 292 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001941/0.6423, allocations: 0.6984 MB / 0.6819 GB, free: 15.58 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (TGTypeII1.transferFunction1.x_scaled[1],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 (57): * Single equations (assignments): 56 * 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.0002739/0.6426, allocations: 126.2 kB / 0.682 GB, free: 15.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01279/0.6554, allocations: 4.598 MB / 0.6865 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.6554, allocations: 4 kB / 0.6865 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005273/0.6607, allocations: 1.748 MB / 0.6882 GB, free: 9.062 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009609/0.6617, allocations: 104.9 kB / 0.6883 GB, free: 8.961 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.6659, allocations: 2.622 MB / 0.6909 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006772/0.6666, allocations: 1.109 MB / 0.6919 GB, free: 5.176 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005567/0.6672, allocations: 126.9 kB / 0.6921 GB, free: 5.047 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.6674, allocations: 59.42 kB / 0.6921 GB, free: 4.988 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6674, allocations: 0 / 0.6921 GB, free: 4.988 MB / 494.1 MB Notification: Performance of Templates: time 0.0421/0.7095, allocations: 27.63 MB / 0.7191 GB, free: 9.375 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order4test2_TG.pipe 2>&1)