Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008389/0.008389, allocations: 100.2 kB / 15.73 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.384/1.384, allocations: 222.9 MB / 239.4 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.001322/0.001322, allocations: 188.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.501/0.501, allocations: 91.9 MB / 431.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 79.09 kB / 0.5727 GB, free: 33.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1179, allocations: 71.29 MB / 0.6423 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.005398/0.1233, allocations: 5.27 MB / 0.6475 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1258, allocations: 1.638 MB / 0.6491 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.1261, allocations: 8 kB / 0.6491 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.1265, allocations: 178.4 kB / 0.6493 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.1279, allocations: 0.6711 MB / 0.6499 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009109/0.1288, allocations: 0.5077 MB / 0.6504 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.1297, allocations: 1.078 MB / 0.6515 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003483/0.1301, allocations: 262.5 kB / 0.6517 GB, free: 9.922 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004486/0.1306, allocations: 466 kB / 0.6522 GB, free: 9.465 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005789/0.1312, allocations: 0.5872 MB / 0.6527 GB, free: 8.875 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.1313, allocations: 84 kB / 0.6528 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000332/0.1316, allocations: 215.8 kB / 0.653 GB, free: 8.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1318, allocations: 235 kB / 0.6533 GB, free: 8.352 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003833/0.1322, allocations: 0.4931 MB / 0.6537 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00107/0.1333, allocations: 1.234 MB / 0.6549 GB, free: 6.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1333, allocations: 4 kB / 0.6549 GB, free: 6.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1333, allocations: 0 / 0.6549 GB, free: 6.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.1333, allocations: 0 / 0.6549 GB, free: 6.613 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006379/0.1397, allocations: 2.119 MB / 0.657 GB, free: 4.441 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1398, allocations: 12.03 kB / 0.657 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004023/0.1438, allocations: 0.6431 MB / 0.6577 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.1447, allocations: 0.6543 MB / 0.6583 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.1449, allocations: 188 kB / 0.6585 GB, free: 2.879 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.145, allocations: 60 kB / 0.6585 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.1469, allocations: 0.8497 MB / 0.6594 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1469, allocations: 4 kB / 0.6594 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/0.147, allocations: 24 kB / 0.6594 GB, free: 1.938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.147, allocations: 15.94 kB / 0.6594 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.149, allocations: 0.8951 MB / 0.6603 GB, free: 1.027 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.004074/0.1531, allocations: 2.396 MB / 0.6626 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.1547, allocations: 1.037 MB / 0.6636 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.1559, allocations: 0.6279 MB / 0.6642 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.156, allocations: 8.656 kB / 0.6642 GB, free: 12.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.1561, allocations: 47.14 kB / 0.6643 GB, free: 12.71 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.1561, allocations: 0 / 0.6643 GB, free: 12.71 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.02224/0.1783, allocations: 5.542 MB / 0.6697 GB, free: 7.133 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.977e-05/0.1784, allocations: 64.06 kB / 0.6698 GB, free: 7.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000951/0.1794, allocations: 0.7629 MB / 0.6705 GB, free: 6.281 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.1795, allocations: 33.7 kB / 0.6705 GB, free: 6.242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.1798, allocations: 404.5 kB / 0.6709 GB, free: 5.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/0.18, allocations: 276.1 kB / 0.6712 GB, free: 5.566 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.1803, allocations: 178.5 kB / 0.6714 GB, free: 5.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1805, allocations: 345.9 kB / 0.6717 GB, free: 5.039 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.1819, allocations: 0.6071 MB / 0.6723 GB, free: 4.434 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.1834, allocations: 0.6968 MB / 0.673 GB, free: 3.711 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/0.1861, allocations: 1.311 MB / 0.6742 GB, free: 2.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1861, allocations: 0 / 0.6742 GB, free: 2.371 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01148/0.1976, allocations: 3.485 MB / 0.6776 GB, free: 14.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1977, allocations: 8.031 kB / 0.6777 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1977, allocations: 4 kB / 0.6777 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005282/0.203, allocations: 1.446 MB / 0.6791 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/0.2039, allocations: 171.7 kB / 0.6792 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01857/0.2225, allocations: 7.807 MB / 0.6869 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.2239, allocations: 143.2 kB / 0.687 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.034e-05/0.224, allocations: 39.97 kB / 0.687 GB, free: 5.117 MB / 494.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" 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 (94): * Single equations (assignments): 93 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004471/0.2245, allocations: 221.8 kB / 0.6872 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.2247, allocations: 94.78 kB / 0.6873 GB, free: 4.797 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.236, allocations: 3.215 MB / 0.6905 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.2361, allocations: 12 kB / 0.6905 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2361, allocations: 7.984 kB / 0.6905 GB, free: 1.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/0.2361, allocations: 3.984 kB / 0.6905 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.2493, allocations: 4.546 MB / 0.6949 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.2494, allocations: 0 / 0.6949 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.25, allocations: 99.86 kB / 0.695 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.2551, allocations: 1.399 MB / 0.6964 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.2553, allocations: 19.94 kB / 0.6964 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/0.2711, allocations: 6.729 MB / 0.703 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.2711, allocations: 0 / 0.703 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/0.2842, allocations: 4.046 MB / 0.7069 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2845, allocations: 179.8 kB / 0.7071 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001336/0.2847, allocations: 15.94 kB / 0.7071 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/0.2855, allocations: 83.91 kB / 0.7072 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005399/0.2861, allocations: 164.4 kB / 0.7074 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.2862, allocations: 23.98 kB / 0.7074 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006909/0.2869, allocations: 0.5107 MB / 0.7079 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2869, allocations: 0 / 0.7079 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001087/0.288, allocations: 355.6 kB / 0.7082 GB, free: 15.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.2882, allocations: 137.5 kB / 0.7084 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005852/0.2941, allocations: 2.054 MB / 0.7104 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2941, allocations: 0 / 0.7104 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004063/0.2982, allocations: 1.296 MB / 0.7116 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007594/0.2989, allocations: 75.94 kB / 0.7117 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.3021, allocations: 1.65 MB / 0.7133 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005599/0.3027, allocations: 1.013 MB / 0.7143 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003236/0.303, allocations: 89.47 kB / 0.7144 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.3032, allocations: 55.42 kB / 0.7144 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of SimCode: time 8.21e-07/0.3032, allocations: 4 kB / 0.7144 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.0289/0.3321, allocations: 19.47 MB / 0.7335 GB, free: 5.176 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)