Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009395/0.009395, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.393/1.393, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.001302/0.001302, allocations: 184.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5043/0.5043, allocations: 91.9 MB / 431.7 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 80.59 kB / 0.5727 GB, free: 33.7 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1328, allocations: 71.27 MB / 0.6423 GB, free: 3.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.00663/0.1395, allocations: 6.042 MB / 0.6482 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003596/0.1431, allocations: 1.794 MB / 0.65 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009232/0.1441, allocations: 12 kB / 0.65 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007719/0.1449, allocations: 230.1 kB / 0.6502 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001709/0.1466, allocations: 0.6088 MB / 0.6508 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.1483, allocations: 0.7742 MB / 0.6516 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.1498, allocations: 1.401 MB / 0.6529 GB, free: 8.699 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000416/0.1502, allocations: 295.2 kB / 0.6532 GB, free: 8.398 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000728/0.151, allocations: 0.5563 MB / 0.6537 GB, free: 7.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.152, allocations: 0.7351 MB / 0.6545 GB, free: 7.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.1523, allocations: 112 kB / 0.6546 GB, free: 6.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.1527, allocations: 219.9 kB / 0.6548 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.1529, allocations: 286.8 kB / 0.6551 GB, free: 6.496 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005506/0.1535, allocations: 0.602 MB / 0.6556 GB, free: 5.891 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1549, allocations: 1.487 MB / 0.6571 GB, free: 4.398 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1549, allocations: 4 kB / 0.6571 GB, free: 4.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1549, allocations: 0 / 0.6571 GB, free: 4.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.1549, allocations: 0 / 0.6571 GB, free: 4.395 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.008205/0.1631, allocations: 2.524 MB / 0.6596 GB, free: 1.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.1632, allocations: 8.031 kB / 0.6596 GB, free: 1.809 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004366/0.1675, allocations: 0.6697 MB / 0.6602 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.1686, allocations: 0.7555 MB / 0.661 GB, free: 348 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/0.169, allocations: 349.2 kB / 0.6613 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.1692, allocations: 72 kB / 0.6614 GB, free: 15.87 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.1716, allocations: 1.125 MB / 0.6625 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1716, allocations: 0 / 0.6625 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.724e-05/0.1717, allocations: 31.98 kB / 0.6625 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.1717, allocations: 20 kB / 0.6625 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.1742, allocations: 1.066 MB / 0.6636 GB, free: 13.61 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.006822/0.181, allocations: 3.691 MB / 0.6672 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008111/0.1892, allocations: 2.5 MB / 0.6696 GB, free: 7.086 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.191, allocations: 0.7547 MB / 0.6703 GB, free: 6.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.1912, allocations: 20.97 kB / 0.6704 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.1913, allocations: 39.56 kB / 0.6704 GB, free: 6.258 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 4.128e-06/0.1913, allocations: 8 kB / 0.6704 GB, free: 6.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.0364/0.2277, allocations: 8.095 MB / 0.6783 GB, free: 14.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.2278, allocations: 86.11 kB / 0.6784 GB, free: 14.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.229, allocations: 0.8348 MB / 0.6792 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.2292, allocations: 45.64 kB / 0.6793 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003478/0.2296, allocations: 444.5 kB / 0.6797 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004229/0.23, allocations: 323.3 kB / 0.68 GB, free: 12.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004102/0.2305, allocations: 162.6 kB / 0.6801 GB, free: 12.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2306, allocations: 341.9 kB / 0.6805 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.2323, allocations: 0.6578 MB / 0.6811 GB, free: 11.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/0.234, allocations: 0.7963 MB / 0.6819 GB, free: 10.34 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01698/0.251, allocations: 4.507 MB / 0.6863 GB, free: 5.785 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.251, allocations: 7.938 kB / 0.6863 GB, free: 5.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01654/0.2676, allocations: 4.343 MB / 0.6905 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.2676, allocations: 8 kB / 0.6905 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2677, allocations: 0 / 0.6905 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007588/0.2753, allocations: 2.08 MB / 0.6926 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.276, allocations: 139.8 kB / 0.6927 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02945/0.3055, allocations: 10.6 MB / 0.7031 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.307, allocations: 171 kB / 0.7032 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.3072, allocations: 35.98 kB / 0.7033 GB, free: 4.227 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" type: Real SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" fixed = true ) "q-axis current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (83): * Single equations (assignments): 82 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0004747/0.3076, allocations: 238.6 kB / 0.7035 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002597/0.3079, allocations: 106.7 kB / 0.7036 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/0.3238, allocations: 4.317 MB / 0.7078 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3238, allocations: 8 kB / 0.7078 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3238, allocations: 0 / 0.7078 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.3238, allocations: 3.984 kB / 0.7078 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.3414, allocations: 5.729 MB / 0.7134 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3415, allocations: 0 / 0.7134 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004962/0.342, allocations: 87.84 kB / 0.7135 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00717/0.3492, allocations: 1.975 MB / 0.7154 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.3493, allocations: 23.92 kB / 0.7154 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02633/0.3756, allocations: 9.414 MB / 0.7246 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3757, allocations: 0 / 0.7246 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/0.3932, allocations: 5.268 MB / 0.7298 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003768/0.3936, allocations: 199.6 kB / 0.73 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.3938, allocations: 20 kB / 0.73 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.3951, allocations: 99.88 kB / 0.7301 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007105/0.3958, allocations: 228.5 kB / 0.7303 GB, free: 8.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/0.3959, allocations: 28 kB / 0.7303 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008086/0.3967, allocations: 0.57 MB / 0.7309 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3967, allocations: 0 / 0.7309 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001389/0.3981, allocations: 431.5 kB / 0.7313 GB, free: 7.148 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * 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 (54): * Single equations (assignments): 53 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.3984, allocations: 123.1 kB / 0.7314 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007932/0.4063, allocations: 2.459 MB / 0.7338 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.4063, allocations: 256 / 0.7338 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006045/0.4124, allocations: 1.699 MB / 0.7355 GB, free: 2.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.4133, allocations: 100.4 kB / 0.7356 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.4173, allocations: 2.027 MB / 0.7376 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.4179, allocations: 1.053 MB / 0.7386 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002951/0.4182, allocations: 78.45 kB / 0.7387 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/0.4184, allocations: 63.42 kB / 0.7387 GB, free: 15.45 MB / 0.545 GB Notification: Performance of SimCode: time 8.12e-07/0.4184, allocations: 0 / 0.7387 GB, free: 15.45 MB / 0.545 GB Notification: Performance of Templates: time 0.04005/0.4585, allocations: 27.08 MB / 0.7652 GB, free: 4.348 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)