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.001333/0.001333, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.346/1.346, allocations: 222.9 MB / 240.1 MB, free: 4.379 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.001354/0.001354, allocations: 184.5 kB / 290.4 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5065/0.5065, allocations: 91.89 MB / 432.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 77.12 kB / 0.5734 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1359, allocations: 71.29 MB / 0.643 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order4test2_TG): time 0.006997/0.143, allocations: 6.39 MB / 0.6492 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.1474, allocations: 1.965 MB / 0.6512 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1485, allocations: 19.94 kB / 0.6512 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.1496, allocations: 234 kB / 0.6514 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.1523, allocations: 0.728 MB / 0.6521 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.1542, allocations: 0.6716 MB / 0.6528 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.1564, allocations: 1.467 MB / 0.6542 GB, free: 8.188 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006741/0.1571, allocations: 308.4 kB / 0.6545 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1583, allocations: 0.6107 MB / 0.6551 GB, free: 7.266 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/0.1594, allocations: 0.7194 MB / 0.6558 GB, free: 6.543 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.1598, allocations: 100 kB / 0.6559 GB, free: 6.445 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007656/0.1606, allocations: 243.9 kB / 0.6561 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003927/0.161, allocations: 290.8 kB / 0.6564 GB, free: 5.922 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008323/0.1619, allocations: 0.6136 MB / 0.657 GB, free: 5.305 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002173/0.1641, allocations: 1.534 MB / 0.6585 GB, free: 3.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.1641, allocations: 0 / 0.6585 GB, free: 3.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1641, allocations: 0 / 0.6585 GB, free: 3.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.947e-05/0.1642, allocations: 0 / 0.6585 GB, free: 3.766 MB / 462.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.008939/0.1731, allocations: 2.532 MB / 0.661 GB, free: 1.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.1732, allocations: 8.031 kB / 0.661 GB, free: 1.172 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005204/0.1784, allocations: 0.775 MB / 0.6617 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.1803, allocations: 0.8303 MB / 0.6625 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.1806, allocations: 256.2 kB / 0.6628 GB, free: 15.22 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000276/0.1809, allocations: 72 kB / 0.6629 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002566/0.1835, allocations: 1.126 MB / 0.664 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1836, allocations: 3.938 kB / 0.664 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.1837, allocations: 28 kB / 0.664 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1837, allocations: 19.94 kB / 0.664 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.1861, allocations: 1.074 MB / 0.6651 GB, free: 12.88 MB / 478.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.007092/0.1933, allocations: 3.47 MB / 0.6684 GB, free: 9.258 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/0.1955, allocations: 1.427 MB / 0.6698 GB, free: 7.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.1971, allocations: 0.7422 MB / 0.6706 GB, free: 6.961 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1972, allocations: 16.97 kB / 0.6706 GB, free: 6.945 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1973, allocations: 47.56 kB / 0.6706 GB, free: 6.891 MB / 478.1 MB Notification: Performance of pre-optimization done (n=90): time 3.417e-06/0.1973, allocations: 4 kB / 0.6706 GB, free: 6.887 MB / 478.1 MB Notification: Performance of matching and sorting (n=90): time 0.02514/0.2224, allocations: 6.504 MB / 0.677 GB, free: 356 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/0.2225, allocations: 86.11 kB / 0.6771 GB, free: 252 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.2242, allocations: 0.9416 MB / 0.678 GB, free: 15.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002668/0.2245, allocations: 45.64 kB / 0.678 GB, free: 15.23 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004032/0.2249, allocations: 484.5 kB / 0.6785 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005062/0.2254, allocations: 323.4 kB / 0.6788 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/0.226, allocations: 202.8 kB / 0.679 GB, free: 14.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2262, allocations: 357.9 kB / 0.6793 GB, free: 13.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.2278, allocations: 0.7009 MB / 0.68 GB, free: 13.17 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.2294, allocations: 0.8423 MB / 0.6808 GB, free: 12.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01866/0.2481, allocations: 4.705 MB / 0.6854 GB, free: 7.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.2482, allocations: 3.938 kB / 0.6854 GB, free: 7.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.01362/0.2618, allocations: 4.214 MB / 0.6896 GB, free: 3.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/0.2619, allocations: 8 kB / 0.6896 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.2619, allocations: 4 kB / 0.6896 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/0.2678, allocations: 1.718 MB / 0.6912 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2689, allocations: 207.7 kB / 0.6914 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/0.2895, allocations: 9.059 MB / 0.7003 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.2912, allocations: 186.8 kB / 0.7005 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001704/0.2914, allocations: 44 kB / 0.7005 GB, free: 7.941 MB / 0.4981 GB 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001847/0.2933, allocations: 0.8732 MB / 0.7014 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001552/0.2949, allocations: 0.815 MB / 0.7022 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01834/0.3132, allocations: 4.678 MB / 0.7067 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.192e-06/0.3133, allocations: 0 / 0.7067 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=145) (initialization_lambda0): time 0.01335/0.3266, allocations: 4.199 MB / 0.7108 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/0.3267, allocations: 9.188 kB / 0.7108 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.3267, allocations: 4 kB / 0.7108 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005812/0.3325, allocations: 1.714 MB / 0.7125 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/0.3336, allocations: 195.8 kB / 0.7127 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/0.3535, allocations: 9.05 MB / 0.7215 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.3553, allocations: 171.1 kB / 0.7217 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001663/0.3555, allocations: 35.98 kB / 0.7217 GB, free: 1.973 MB / 0.5137 GB 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.0003687/0.3559, allocations: 244.5 kB / 0.722 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/0.3562, allocations: 122.5 kB / 0.7221 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/0.3688, allocations: 3.932 MB / 0.7259 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.3688, allocations: 15.94 kB / 0.7259 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3688, allocations: 0 / 0.7259 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-05/0.3689, allocations: 3.984 kB / 0.7259 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.3837, allocations: 5.563 MB / 0.7314 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.858e-05/0.3838, allocations: 4 kB / 0.7314 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006809/0.3844, allocations: 99.89 kB / 0.7315 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005792/0.3902, allocations: 1.741 MB / 0.7332 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/0.3905, allocations: 19.98 kB / 0.7332 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01852/0.409, allocations: 8.056 MB / 0.7411 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4091, allocations: 3.984 kB / 0.7411 GB, free: 13.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01487/0.424, allocations: 4.866 MB / 0.7458 GB, free: 8.969 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.4244, allocations: 199.5 kB / 0.746 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.4247, allocations: 23.94 kB / 0.746 GB, free: 8.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.4258, allocations: 111.9 kB / 0.7461 GB, free: 8.621 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006656/0.4264, allocations: 196.7 kB / 0.7463 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.4265, allocations: 20 kB / 0.7463 GB, free: 8.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001017/0.4276, allocations: 0.643 MB / 0.747 GB, free: 7.758 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4276, allocations: 0 / 0.747 GB, free: 7.758 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002015/0.4296, allocations: 0.6944 MB / 0.7476 GB, free: 7.062 MB / 0.545 GB 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.0002923/0.4299, allocations: 127.2 kB / 0.7478 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01129/0.4412, allocations: 4.134 MB / 0.7518 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.4412, allocations: 0 / 0.7518 GB, free: 2.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004768/0.446, allocations: 1.554 MB / 0.7533 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.4471, allocations: 98.12 kB / 0.7534 GB, free: 1.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.4517, allocations: 2.166 MB / 0.7555 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.4525, allocations: 1.105 MB / 0.7566 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003958/0.4529, allocations: 67.42 kB / 0.7567 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of SimCode: time 7.81e-07/0.4529, allocations: 0 / 0.7567 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.3251/0.778, allocations: 21.08 MB / 0.7773 GB, free: 116.5 MB / 0.5606 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)