Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 109.9 kB / 16.41 MB, free: 6.027 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.435/1.435, allocations: 222.9 MB / 240.1 MB, free: 4.559 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.001578/0.001578, allocations: 192.5 kB / 290.4 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5263/0.5263, allocations: 91.89 MB / 432.4 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 79.28 kB / 0.5734 GB, free: 33.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1552, allocations: 71.28 MB / 0.643 GB, free: 3.691 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.006406/0.1616, allocations: 5.374 MB / 0.6483 GB, free: 14.29 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003836/0.1655, allocations: 1.641 MB / 0.6499 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.1666, allocations: 8 kB / 0.6499 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.1674, allocations: 186.4 kB / 0.65 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002414/0.1699, allocations: 0.6367 MB / 0.6507 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1713, allocations: 0.5025 MB / 0.6512 GB, free: 11.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.1731, allocations: 1.102 MB / 0.6522 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.1737, allocations: 266.5 kB / 0.6525 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007905/0.1745, allocations: 477.9 kB / 0.6529 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007377/0.1752, allocations: 0.6145 MB / 0.6535 GB, free: 8.852 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.1754, allocations: 88 kB / 0.6536 GB, free: 8.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005511/0.1759, allocations: 219.8 kB / 0.6538 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.1762, allocations: 243 kB / 0.6541 GB, free: 8.312 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.1767, allocations: 0.5087 MB / 0.6546 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.1781, allocations: 1.28 MB / 0.6558 GB, free: 6.516 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1782, allocations: 0 / 0.6558 GB, free: 6.516 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1782, allocations: 0 / 0.6558 GB, free: 6.516 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.1782, allocations: 0 / 0.6558 GB, free: 6.516 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.007257/0.1854, allocations: 2.17 MB / 0.6579 GB, free: 4.293 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.1855, allocations: 16.03 kB / 0.658 GB, free: 4.277 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004225/0.1898, allocations: 0.6431 MB / 0.6586 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1909, allocations: 0.6542 MB / 0.6592 GB, free: 2.938 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.1911, allocations: 180.1 kB / 0.6594 GB, free: 2.734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.1913, allocations: 71.89 kB / 0.6595 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1931, allocations: 0.877 MB / 0.6603 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.1932, allocations: 0 / 0.6603 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.916e-05/0.1933, allocations: 24 kB / 0.6603 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1933, allocations: 19.94 kB / 0.6604 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00194/0.1952, allocations: 0.9264 MB / 0.6613 GB, free: 0.8125 MB / 462.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.004593/0.1998, allocations: 2.455 MB / 0.6637 GB, free: 14.25 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.2019, allocations: 1.127 MB / 0.6648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/0.2031, allocations: 0.6562 MB / 0.6654 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.03e-05/0.2033, allocations: 16.98 kB / 0.6654 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.2033, allocations: 51.48 kB / 0.6655 GB, free: 12.3 MB / 478.1 MB Notification: Performance of pre-optimization done (n=83): time 2.815e-06/0.2033, allocations: 0 / 0.6655 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=83): time 0.02153/0.2248, allocations: 5.521 MB / 0.6709 GB, free: 6.746 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.225, allocations: 64.41 kB / 0.6709 GB, free: 6.672 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.2261, allocations: 0.7668 MB / 0.6717 GB, free: 5.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002164/0.2263, allocations: 37.7 kB / 0.6717 GB, free: 5.848 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/0.2267, allocations: 400.8 kB / 0.6721 GB, free: 5.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.227, allocations: 303.7 kB / 0.6724 GB, free: 5.148 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.2274, allocations: 182.8 kB / 0.6725 GB, free: 4.965 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.2275, allocations: 349.9 kB / 0.6729 GB, free: 4.617 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.2288, allocations: 0.6155 MB / 0.6735 GB, free: 4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.2302, allocations: 0.7349 MB / 0.6742 GB, free: 3.242 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01669/0.2469, allocations: 4.213 MB / 0.6783 GB, free: 15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.247, allocations: 4 kB / 0.6783 GB, free: 15 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01178/0.2588, allocations: 3.587 MB / 0.6818 GB, free: 11.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.061e-05/0.2589, allocations: 4 kB / 0.6818 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.2589, allocations: 4 kB / 0.6818 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005516/0.2644, allocations: 1.511 MB / 0.6833 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.2655, allocations: 187.7 kB / 0.6835 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.2847, allocations: 8.143 MB / 0.6914 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.2863, allocations: 139.1 kB / 0.6916 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002564/0.2866, allocations: 35.98 kB / 0.6916 GB, free: 1.23 MB / 494.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (97): * Single equations (assignments): 96 * 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 {(19,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0007384/0.2873, allocations: 249.9 kB / 0.6918 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003355/0.2877, allocations: 98.78 kB / 0.6919 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.2989, allocations: 3.399 MB / 0.6953 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.299, allocations: 8 kB / 0.6953 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.299, allocations: 7.938 kB / 0.6953 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.299, allocations: 3.984 kB / 0.6953 GB, free: 13.44 MB / 0.4981 GB 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 postOpt removeSimpleEquations (simulation): time 0.01392/0.313, allocations: 4.78 MB / 0.6999 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/0.313, allocations: 3.984 kB / 0.6999 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006728/0.3137, allocations: 99.81 kB / 0.7 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005647/0.3194, allocations: 1.522 MB / 0.7015 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001887/0.3196, allocations: 19.98 kB / 0.7015 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/0.3363, allocations: 7.318 MB / 0.7087 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/0.3364, allocations: 11.86 kB / 0.7087 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01316/0.3495, allocations: 4.279 MB / 0.7129 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.35, allocations: 183.7 kB / 0.7131 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002922/0.3503, allocations: 16 kB / 0.7131 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.3514, allocations: 87.84 kB / 0.7132 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/0.3521, allocations: 172.5 kB / 0.7133 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.3522, allocations: 24 kB / 0.7133 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007675/0.353, allocations: 0.5146 MB / 0.7138 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/0.353, allocations: 0 / 0.7138 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001466/0.3545, allocations: 375.6 kB / 0.7142 GB, free: 9.75 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 (49): * Single equations (assignments): 48 * 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 {(20,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003634/0.3548, allocations: 131.1 kB / 0.7143 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006009/0.3609, allocations: 2.121 MB / 0.7164 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/0.3609, allocations: 4.062 kB / 0.7164 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/0.3649, allocations: 1.337 MB / 0.7177 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000993/0.3659, allocations: 87.22 kB / 0.7178 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003978/0.3699, allocations: 1.773 MB / 0.7195 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.3707, allocations: 1.029 MB / 0.7205 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003225/0.371, allocations: 59.42 kB / 0.7206 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.371, allocations: 0 / 0.7206 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.02785/0.3989, allocations: 16.81 MB / 0.737 GB, free: 2.305 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1)