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.001217/0.001217, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.321/1.321, allocations: 222.9 MB / 240 MB, free: 4.414 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.001296/0.001296, allocations: 182.9 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5143/0.5143, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 83.86 kB / 0.5033 GB, free: 6.965 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3033, allocations: 71.26 MB / 0.5729 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004769/0.3081, allocations: 6.012 MB / 0.5787 GB, free: 33.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.3108, allocations: 1.812 MB / 0.5805 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.3112, allocations: 11.72 kB / 0.5805 GB, free: 32.42 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.3116, allocations: 236.7 kB / 0.5807 GB, free: 32.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009871/0.3126, allocations: 0.5483 MB / 0.5813 GB, free: 31.92 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.3139, allocations: 0.7745 MB / 0.582 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001008/0.3149, allocations: 1.403 MB / 0.5834 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.3152, allocations: 285.5 kB / 0.5837 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.3157, allocations: 0.5673 MB / 0.5842 GB, free: 30.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005739/0.3163, allocations: 0.7324 MB / 0.585 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001259/0.3164, allocations: 109.8 kB / 0.5851 GB, free: 30.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.3167, allocations: 222.9 kB / 0.5853 GB, free: 30.03 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3169, allocations: 283.5 kB / 0.5855 GB, free: 29.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003616/0.3173, allocations: 0.6055 MB / 0.5861 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.3184, allocations: 1.486 MB / 0.5876 GB, free: 28.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3184, allocations: 0 / 0.5876 GB, free: 28.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3184, allocations: 4 kB / 0.5876 GB, free: 28.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.169e-05/0.3185, allocations: 0 / 0.5876 GB, free: 28.77 MB / 430.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.007663/0.3261, allocations: 2.523 MB / 0.59 GB, free: 27.65 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3262, allocations: 9.719 kB / 0.5901 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.3302, allocations: 0.6754 MB / 0.5907 GB, free: 27.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.3313, allocations: 0.7555 MB / 0.5915 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002672/0.3316, allocations: 342.7 kB / 0.5918 GB, free: 26.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.3317, allocations: 74.78 kB / 0.5919 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002008/0.3337, allocations: 1.125 MB / 0.593 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.3338, allocations: 0 / 0.593 GB, free: 26.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.083e-05/0.3338, allocations: 33.47 kB / 0.593 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.3339, allocations: 20.84 kB / 0.593 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.3359, allocations: 1.061 MB / 0.594 GB, free: 25.84 MB / 430.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.005486/0.3414, allocations: 3.691 MB / 0.5976 GB, free: 23.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006805/0.3482, allocations: 2.513 MB / 0.6001 GB, free: 22.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.3497, allocations: 0.7546 MB / 0.6008 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001174/0.3498, allocations: 16.08 kB / 0.6009 GB, free: 22.29 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.3498, allocations: 44.8 kB / 0.6009 GB, free: 22.24 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.335e-06/0.3498, allocations: 0 / 0.6009 GB, free: 22.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03216/0.382, allocations: 8.098 MB / 0.6088 GB, free: 20.88 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3821, allocations: 91.89 kB / 0.6089 GB, free: 20.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.3833, allocations: 0.8298 MB / 0.6097 GB, free: 20.41 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.3834, allocations: 46.09 kB / 0.6097 GB, free: 20.37 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/0.3837, allocations: 445.3 kB / 0.6102 GB, free: 19.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.3839, allocations: 327.5 kB / 0.6105 GB, free: 19.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000325/0.3843, allocations: 159.9 kB / 0.6106 GB, free: 19.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.889e-05/0.3843, allocations: 343.3 kB / 0.611 GB, free: 19.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.3857, allocations: 0.6496 MB / 0.6116 GB, free: 18.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3871, allocations: 0.7995 MB / 0.6124 GB, free: 18.47 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01429/0.4014, allocations: 4.505 MB / 0.6168 GB, free: 16.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.4014, allocations: 5.25 kB / 0.6168 GB, free: 16.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01278/0.4142, allocations: 4.336 MB / 0.621 GB, free: 12.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.875e-05/0.4143, allocations: 8 kB / 0.621 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4143, allocations: 4 kB / 0.621 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/0.4203, allocations: 2.088 MB / 0.6231 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.421, allocations: 139.8 kB / 0.6232 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02323/0.4443, allocations: 10.6 MB / 0.6336 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/0.446, allocations: 159.1 kB / 0.6337 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4461, allocations: 39.97 kB / 0.6337 GB, free: 15.52 MB / 446.1 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.0004885/0.4466, allocations: 241.3 kB / 0.634 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.4468, allocations: 110.6 kB / 0.6341 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01379/0.4606, allocations: 4.309 MB / 0.6383 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.4607, allocations: 8 kB / 0.6383 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4607, allocations: 8 kB / 0.6383 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.4608, allocations: 3.984 kB / 0.6383 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.4767, allocations: 5.721 MB / 0.6439 GB, free: 4.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.4768, allocations: 3.984 kB / 0.6439 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.4773, allocations: 87.91 kB / 0.644 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006441/0.4838, allocations: 1.983 MB / 0.6459 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/0.4839, allocations: 31.86 kB / 0.6459 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02305/0.507, allocations: 9.394 MB / 0.6551 GB, free: 9.332 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.507, allocations: 3.938 kB / 0.6551 GB, free: 9.328 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0158/0.5229, allocations: 5.272 MB / 0.6603 GB, free: 4.031 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.5234, allocations: 203.6 kB / 0.6605 GB, free: 3.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.5236, allocations: 16 kB / 0.6605 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001108/0.5247, allocations: 111.9 kB / 0.6606 GB, free: 3.688 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007705/0.5255, allocations: 220.7 kB / 0.6608 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.5256, allocations: 23.94 kB / 0.6608 GB, free: 3.449 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007882/0.5264, allocations: 0.5739 MB / 0.6614 GB, free: 2.863 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.5264, allocations: 0 / 0.6614 GB, free: 2.863 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001328/0.5277, allocations: 427.6 kB / 0.6618 GB, free: 2.445 MB / 462.1 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.0002393/0.528, allocations: 131.1 kB / 0.6619 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007185/0.5351, allocations: 2.471 MB / 0.6643 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.5352, allocations: 0 / 0.6643 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00541/0.5406, allocations: 1.683 MB / 0.666 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009181/0.5415, allocations: 99.25 kB / 0.6661 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003791/0.5453, allocations: 2.002 MB / 0.668 GB, free: 12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.546, allocations: 1.057 MB / 0.6691 GB, free: 10.91 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002957/0.5463, allocations: 82.44 kB / 0.6691 GB, free: 10.83 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.5465, allocations: 67.42 kB / 0.6692 GB, free: 10.76 MB / 478.1 MB Notification: Performance of SimCode: time 2.335e-06/0.5465, allocations: 4 kB / 0.6692 GB, free: 10.76 MB / 478.1 MB Notification: Performance of Templates: time 0.03965/0.5861, allocations: 26.89 MB / 0.6955 GB, free: 15.86 MB / 0.4981 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)