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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 179.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 239.7 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 117.2 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4053/0.4053, allocations: 78.48 MB / 418.5 MB, free: 8.852 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 497.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.265, allocations: 68.11 MB / 0.5523 GB, free: 20.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004788/0.2698, allocations: 6.381 MB / 0.5585 GB, free: 13.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002626/0.2725, allocations: 1.844 MB / 0.5603 GB, free: 11.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000371/0.2729, allocations: 12 kB / 0.5603 GB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.2733, allocations: 186.9 kB / 0.5605 GB, free: 11.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001256/0.2746, allocations: 0.6954 MB / 0.5612 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009863/0.2756, allocations: 0.5631 MB / 0.5618 GB, free: 10.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001046/0.2766, allocations: 1.475 MB / 0.5632 GB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002818/0.2769, allocations: 251.8 kB / 0.5634 GB, free: 8.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003487/0.2773, allocations: 0.5211 MB / 0.5639 GB, free: 8.266 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000506/0.2778, allocations: 0.7039 MB / 0.5646 GB, free: 7.559 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.2779, allocations: 68 kB / 0.5647 GB, free: 7.492 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.2782, allocations: 191.9 kB / 0.5649 GB, free: 7.305 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.2784, allocations: 250.8 kB / 0.5651 GB, free: 7.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2787, allocations: 0.5708 MB / 0.5657 GB, free: 6.484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.2795, allocations: 1.434 MB / 0.5671 GB, free: 5.047 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2795, allocations: 7.984 kB / 0.5671 GB, free: 5.039 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2795, allocations: 0 / 0.5671 GB, free: 5.039 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2795, allocations: 0 / 0.5671 GB, free: 5.039 MB / 378.7 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.007606/0.2872, allocations: 2.547 MB / 0.5696 GB, free: 2.438 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2872, allocations: 8.031 kB / 0.5696 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.291, allocations: 0.6697 MB / 0.5702 GB, free: 1.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/0.2919, allocations: 0.7555 MB / 0.571 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002808/0.2922, allocations: 345.2 kB / 0.5713 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.2923, allocations: 79.92 kB / 0.5714 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/0.2944, allocations: 1.118 MB / 0.5725 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2945, allocations: 4 kB / 0.5725 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.781e-05/0.2945, allocations: 28 kB / 0.5725 GB, free: 15.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.2946, allocations: 16 kB / 0.5725 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002363/0.2969, allocations: 1.07 MB / 0.5736 GB, free: 14.24 MB / 394.7 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.006413/0.3034, allocations: 3.715 MB / 0.5772 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007753/0.3111, allocations: 2.509 MB / 0.5796 GB, free: 7.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.3128, allocations: 0.7542 MB / 0.5804 GB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.3129, allocations: 24.97 kB / 0.5804 GB, free: 6.895 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3129, allocations: 39.56 kB / 0.5804 GB, free: 6.848 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.835e-06/0.3129, allocations: 0 / 0.5804 GB, free: 6.848 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.03465/0.3476, allocations: 8.099 MB / 0.5883 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.3477, allocations: 86.11 kB / 0.5884 GB, free: 14.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3488, allocations: 0.8387 MB / 0.5892 GB, free: 13.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.3489, allocations: 41.7 kB / 0.5893 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002981/0.3492, allocations: 448.5 kB / 0.5897 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.3495, allocations: 319.3 kB / 0.59 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003452/0.3499, allocations: 162.5 kB / 0.5902 GB, free: 12.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.35, allocations: 345.9 kB / 0.5905 GB, free: 12.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.3516, allocations: 0.6539 MB / 0.5911 GB, free: 11.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.3532, allocations: 0.7924 MB / 0.5919 GB, free: 10.94 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/0.3691, allocations: 4.503 MB / 0.5963 GB, free: 6.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.3692, allocations: 3.938 kB / 0.5963 GB, free: 6.383 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01503/0.3842, allocations: 4.339 MB / 0.6005 GB, free: 2.023 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.3843, allocations: 8 kB / 0.6006 GB, free: 2.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.3843, allocations: 4.312 kB / 0.6006 GB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007144/0.3914, allocations: 2.085 MB / 0.6026 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.3922, allocations: 135.7 kB / 0.6027 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02632/0.4185, allocations: 9.788 MB / 0.6123 GB, free: 5.859 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.4199, allocations: 151.2 kB / 0.6124 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.414e-05/0.42, allocations: 36 kB / 0.6125 GB, free: 5.676 MB / 426.7 MB 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.0004666/0.4205, allocations: 246.4 kB / 0.6127 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.4207, allocations: 106.7 kB / 0.6128 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01508/0.4358, allocations: 4.309 MB / 0.617 GB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4358, allocations: 11.98 kB / 0.617 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4359, allocations: 0 / 0.617 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4359, allocations: 7.984 kB / 0.617 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01653/0.4524, allocations: 5.725 MB / 0.6226 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.4524, allocations: 0 / 0.6226 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.4529, allocations: 99.83 kB / 0.6227 GB, free: 11.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006883/0.4598, allocations: 1.979 MB / 0.6246 GB, free: 9.055 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.46, allocations: 20 kB / 0.6247 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0228/0.4828, allocations: 8.575 MB / 0.633 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4828, allocations: 3.938 kB / 0.633 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.104/0.5868, allocations: 35.15 MB / 0.6674 GB, free: 12.81 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.5871, allocations: 207.6 kB / 0.6676 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.5872, allocations: 20 kB / 0.6676 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.5884, allocations: 103.8 kB / 0.6677 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007095/0.5891, allocations: 216.6 kB / 0.6679 GB, free: 12.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.5892, allocations: 24 kB / 0.6679 GB, free: 12.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006656/0.5898, allocations: 0.5739 MB / 0.6685 GB, free: 11.65 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5898, allocations: 0 / 0.6685 GB, free: 11.65 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001476/0.5913, allocations: 0.6011 MB / 0.6691 GB, free: 11.05 MB / 490.7 MB 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.0001935/0.5915, allocations: 119.2 kB / 0.6692 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007192/0.5987, allocations: 2.434 MB / 0.6716 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5987, allocations: 0 / 0.6716 GB, free: 8.473 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/0.6041, allocations: 1.654 MB / 0.6732 GB, free: 6.809 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006882/0.6049, allocations: 89.92 kB / 0.6733 GB, free: 6.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.6133, allocations: 3.877 MB / 0.677 GB, free: 2.785 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.6138, allocations: 1.096 MB / 0.6781 GB, free: 1.656 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003045/0.6141, allocations: 86.44 kB / 0.6782 GB, free: 1.566 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.6143, allocations: 59.42 kB / 0.6783 GB, free: 1.508 MB / 490.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6143, allocations: 0 / 0.6783 GB, free: 1.508 MB / 490.7 MB Notification: Performance of Templates: time 0.2417/0.856, allocations: 36.1 MB / 0.7135 GB, free: 94.51 MB / 490.7 MB 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)