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.001801/0.001801, 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.428/1.428, allocations: 222.9 MB / 240.1 MB, free: 4.387 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.001541/0.001541, allocations: 184.5 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5323/0.5323, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 80.78 kB / 0.5734 GB, free: 33.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1319, allocations: 71.28 MB / 0.643 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.006902/0.1389, allocations: 6.036 MB / 0.6489 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004066/0.143, allocations: 1.798 MB / 0.6506 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.144, allocations: 8 kB / 0.6507 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008361/0.1449, allocations: 234.1 kB / 0.6509 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002146/0.1471, allocations: 0.5495 MB / 0.6514 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.1491, allocations: 0.7742 MB / 0.6522 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1517, allocations: 1.405 MB / 0.6535 GB, free: 8.887 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006172/0.1523, allocations: 287.2 kB / 0.6538 GB, free: 8.594 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1534, allocations: 0.5641 MB / 0.6544 GB, free: 8.027 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.1545, allocations: 0.7312 MB / 0.6551 GB, free: 7.293 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003874/0.1549, allocations: 108 kB / 0.6552 GB, free: 7.188 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005646/0.1555, allocations: 231.9 kB / 0.6554 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.1558, allocations: 282.9 kB / 0.6557 GB, free: 6.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005783/0.1563, allocations: 0.602 MB / 0.6563 GB, free: 6.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.158, allocations: 1.483 MB / 0.6577 GB, free: 4.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.158, allocations: 0 / 0.6577 GB, free: 4.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.158, allocations: 0 / 0.6577 GB, free: 4.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.158, allocations: 0 / 0.6577 GB, free: 4.59 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.008043/0.1661, allocations: 2.532 MB / 0.6602 GB, free: 2.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1661, allocations: 8.031 kB / 0.6602 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/0.1703, allocations: 0.6736 MB / 0.6608 GB, free: 1.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.1716, allocations: 0.7555 MB / 0.6616 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.1719, allocations: 345.2 kB / 0.6619 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.1721, allocations: 72 kB / 0.662 GB, free: 60 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.1743, allocations: 1.125 MB / 0.6631 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1743, allocations: 0 / 0.6631 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.516e-05/0.1744, allocations: 32 kB / 0.6631 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.1745, allocations: 16 kB / 0.6631 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002199/0.1767, allocations: 1.062 MB / 0.6642 GB, free: 13.81 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.006504/0.1832, allocations: 3.691 MB / 0.6678 GB, free: 9.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/0.1903, allocations: 2.496 MB / 0.6702 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/0.1919, allocations: 0.7702 MB / 0.671 GB, free: 6.508 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1921, allocations: 16.97 kB / 0.671 GB, free: 6.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1921, allocations: 43.56 kB / 0.671 GB, free: 6.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 3.306e-06/0.1921, allocations: 0 / 0.671 GB, free: 6.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03159/0.2237, allocations: 8.095 MB / 0.6789 GB, free: 14.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.635e-05/0.2238, allocations: 94.11 kB / 0.679 GB, free: 14.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/0.225, allocations: 0.8309 MB / 0.6798 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00023/0.2253, allocations: 41.7 kB / 0.6799 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.2256, allocations: 448.5 kB / 0.6803 GB, free: 12.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003576/0.226, allocations: 323.3 kB / 0.6806 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.2263, allocations: 166.5 kB / 0.6808 GB, free: 12.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2265, allocations: 341.9 kB / 0.6811 GB, free: 12.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/0.2279, allocations: 0.65 MB / 0.6817 GB, free: 11.37 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.2294, allocations: 0.8002 MB / 0.6825 GB, free: 10.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.2445, allocations: 4.507 MB / 0.6869 GB, free: 5.973 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.2445, allocations: 3.938 kB / 0.6869 GB, free: 5.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01412/0.2587, allocations: 4.339 MB / 0.6911 GB, free: 1.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/0.2588, allocations: 9.156 kB / 0.6912 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.2588, allocations: 4 kB / 0.6912 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006766/0.2656, allocations: 2.088 MB / 0.6932 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007273/0.2663, allocations: 135.8 kB / 0.6933 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02614/0.2925, allocations: 10.6 MB / 0.7037 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/0.2941, allocations: 167 kB / 0.7038 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.2942, allocations: 28 kB / 0.7039 GB, free: 4.426 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.0004701/0.2947, allocations: 238.7 kB / 0.7041 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.2949, allocations: 110.6 kB / 0.7042 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01374/0.3087, allocations: 4.317 MB / 0.7084 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.3087, allocations: 15.98 kB / 0.7084 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3087, allocations: 0 / 0.7084 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.323e-05/0.3088, allocations: 7.969 kB / 0.7084 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01564/0.3244, allocations: 5.725 MB / 0.714 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/0.3245, allocations: 0 / 0.714 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.325, allocations: 87.89 kB / 0.7141 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006587/0.3316, allocations: 1.979 MB / 0.716 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.3318, allocations: 19.94 kB / 0.7161 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02319/0.355, allocations: 9.402 MB / 0.7252 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3551, allocations: 0 / 0.7252 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01556/0.3707, allocations: 5.284 MB / 0.7304 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000421/0.3711, allocations: 195.6 kB / 0.7306 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.3713, allocations: 16 kB / 0.7306 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.3724, allocations: 103.9 kB / 0.7307 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007215/0.3732, allocations: 224.5 kB / 0.7309 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-05/0.3732, allocations: 31.98 kB / 0.7309 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007304/0.374, allocations: 0.5622 MB / 0.7315 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.374, allocations: 4 kB / 0.7315 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001307/0.3753, allocations: 435.5 kB / 0.7319 GB, free: 7.34 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.0002158/0.3755, allocations: 123.1 kB / 0.732 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007231/0.3828, allocations: 2.463 MB / 0.7344 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.3828, allocations: 0 / 0.7344 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005524/0.3883, allocations: 1.687 MB / 0.7361 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009706/0.3893, allocations: 106.1 kB / 0.7362 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/0.3933, allocations: 2.044 MB / 0.7382 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.394, allocations: 1.057 MB / 0.7392 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002806/0.3943, allocations: 67.36 kB / 0.7393 GB, free: 15.7 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.3943, allocations: 3.938 kB / 0.7393 GB, free: 15.69 MB / 0.545 GB Notification: Performance of Templates: time 0.02493/0.4192, allocations: 19.17 MB / 0.758 GB, free: 12.49 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)