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.001066/0.001066, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.399/1.399, allocations: 222.9 MB / 238.9 MB, free: 4.758 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.001374/0.001374, allocations: 192.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5519/0.5519, allocations: 91.89 MB / 431.2 MB, free: 9.445 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 0.5012 GB, free: 8.184 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3406, allocations: 71.26 MB / 0.5708 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.005397/0.346, allocations: 6.393 MB / 0.577 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.3492, allocations: 1.844 MB / 0.5788 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.3497, allocations: 11.91 kB / 0.5788 GB, free: 31.6 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.3502, allocations: 189.9 kB / 0.579 GB, free: 31.52 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3514, allocations: 0.4901 MB / 0.5795 GB, free: 31.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.3529, allocations: 0.7301 MB / 0.5802 GB, free: 30.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001148/0.354, allocations: 1.338 MB / 0.5815 GB, free: 30.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000311/0.3544, allocations: 248.4 kB / 0.5818 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.3549, allocations: 0.5198 MB / 0.5823 GB, free: 29.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.3554, allocations: 0.6982 MB / 0.583 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.3556, allocations: 74.19 kB / 0.583 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003683/0.356, allocations: 179.6 kB / 0.5832 GB, free: 29.42 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001636/0.3561, allocations: 245.9 kB / 0.5834 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.3565, allocations: 0.5724 MB / 0.584 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009291/0.3574, allocations: 1.431 MB / 0.5854 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3575, allocations: 0 / 0.5854 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3575, allocations: 0 / 0.5854 GB, free: 28.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.3575, allocations: 7.938 kB / 0.5854 GB, free: 28.26 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.008426/0.3659, allocations: 2.527 MB / 0.5879 GB, free: 27.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/0.366, allocations: 10.22 kB / 0.5879 GB, free: 27.14 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004472/0.3705, allocations: 0.6729 MB / 0.5885 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001227/0.3717, allocations: 0.7552 MB / 0.5893 GB, free: 26.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.3721, allocations: 348.8 kB / 0.5896 GB, free: 26.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.3723, allocations: 71.56 kB / 0.5897 GB, free: 26.13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002317/0.3746, allocations: 1.122 MB / 0.5908 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3746, allocations: 0 / 0.5908 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.3747, allocations: 25.5 kB / 0.5908 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.3747, allocations: 17.12 kB / 0.5908 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/0.3769, allocations: 1.072 MB / 0.5919 GB, free: 25.33 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.006232/0.3832, allocations: 3.708 MB / 0.5955 GB, free: 23.08 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007624/0.3908, allocations: 2.507 MB / 0.5979 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.3925, allocations: 0.7589 MB / 0.5987 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001386/0.3927, allocations: 12.14 kB / 0.5987 GB, free: 21.78 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.3927, allocations: 43.22 kB / 0.5987 GB, free: 21.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.217e-06/0.3927, allocations: 0 / 0.5987 GB, free: 21.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03618/0.4289, allocations: 8.098 MB / 0.6066 GB, free: 20.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.429, allocations: 92.84 kB / 0.6067 GB, free: 20.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.4305, allocations: 0.8327 MB / 0.6075 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002231/0.4308, allocations: 42.05 kB / 0.6076 GB, free: 19.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.4311, allocations: 446.1 kB / 0.608 GB, free: 19.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.4315, allocations: 325.3 kB / 0.6083 GB, free: 19.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/0.432, allocations: 162.7 kB / 0.6085 GB, free: 19.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.432, allocations: 346.5 kB / 0.6088 GB, free: 18.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.4337, allocations: 0.6515 MB / 0.6094 GB, free: 18.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4354, allocations: 0.7946 MB / 0.6102 GB, free: 18.25 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01619/0.4516, allocations: 4.51 MB / 0.6146 GB, free: 16.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.4517, allocations: 5.156 kB / 0.6146 GB, free: 16.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01392/0.4656, allocations: 4.33 MB / 0.6188 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.4657, allocations: 8.062 kB / 0.6188 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4657, allocations: 4 kB / 0.6188 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006595/0.4723, allocations: 2.088 MB / 0.6209 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.4731, allocations: 139.8 kB / 0.621 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.4962, allocations: 9.772 MB / 0.6306 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/0.4978, allocations: 159.2 kB / 0.6307 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.498, allocations: 32 kB / 0.6307 GB, free: 0.7188 MB / 430.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.0005222/0.4986, allocations: 244.9 kB / 0.631 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.4989, allocations: 110.6 kB / 0.6311 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/0.5136, allocations: 4.309 MB / 0.6353 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/0.5136, allocations: 19.98 kB / 0.6353 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5136, allocations: 0 / 0.6353 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.54e-05/0.5137, allocations: 3.984 kB / 0.6353 GB, free: 12.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/0.5306, allocations: 5.729 MB / 0.6409 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.94e-05/0.5306, allocations: 0 / 0.6409 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005857/0.5312, allocations: 91.83 kB / 0.641 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006903/0.5382, allocations: 1.979 MB / 0.6429 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002492/0.5384, allocations: 20 kB / 0.643 GB, free: 4.074 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02327/0.5617, allocations: 8.591 MB / 0.6513 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5618, allocations: 0 / 0.6513 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.5788, allocations: 5.266 MB / 0.6565 GB, free: 6.051 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/0.5794, allocations: 207.5 kB / 0.6567 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.5799, allocations: 16 kB / 0.6567 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.5813, allocations: 107.8 kB / 0.6568 GB, free: 5.707 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008889/0.5822, allocations: 216.6 kB / 0.657 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.5824, allocations: 24 kB / 0.657 GB, free: 5.473 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000984/0.5834, allocations: 0.5739 MB / 0.6576 GB, free: 4.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5834, allocations: 0 / 0.6576 GB, free: 4.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001818/0.5852, allocations: 427.6 kB / 0.658 GB, free: 4.469 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.0003394/0.5856, allocations: 119.7 kB / 0.6581 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008009/0.5936, allocations: 2.427 MB / 0.6605 GB, free: 1.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.5936, allocations: 0 / 0.6605 GB, free: 1.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006059/0.5997, allocations: 1.654 MB / 0.6621 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.6012, allocations: 95.33 kB / 0.6622 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/0.6063, allocations: 2.411 MB / 0.6645 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008098/0.6071, allocations: 1.05 MB / 0.6656 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004578/0.6076, allocations: 86.44 kB / 0.6656 GB, free: 12.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002531/0.6079, allocations: 55.42 kB / 0.6657 GB, free: 12.48 MB / 478.1 MB Notification: Performance of SimCode: time 1.512e-06/0.6079, allocations: 0 / 0.6657 GB, free: 12.48 MB / 478.1 MB Notification: Performance of Templates: time 0.03786/0.6458, allocations: 24.19 MB / 0.6893 GB, free: 4.285 MB / 494.1 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)