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: "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.59/1.59, allocations: 222.9 MB / 239 MB, free: 4.703 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.001622/0.001622, allocations: 196.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6106/0.6106, allocations: 91.9 MB / 431.3 MB, free: 9.402 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 71.89 kB / 0.5015 GB, free: 7.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.47/0.4717, allocations: 71.26 MB / 0.5711 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.006684/0.4785, allocations: 6.387 MB / 0.5773 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003631/0.4822, allocations: 1.851 MB / 0.5791 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004256/0.4826, allocations: 11.34 kB / 0.5791 GB, free: 31.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.4831, allocations: 193.6 kB / 0.5793 GB, free: 31.7 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.4843, allocations: 492.6 kB / 0.5798 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.4858, allocations: 0.7181 MB / 0.5805 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.4871, allocations: 1.393 MB / 0.5819 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003986/0.4875, allocations: 290 kB / 0.5821 GB, free: 30.17 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.4879, allocations: 0.5644 MB / 0.5827 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000669/0.4886, allocations: 0.7281 MB / 0.5834 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.4888, allocations: 107.2 kB / 0.5835 GB, free: 29.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003887/0.4892, allocations: 225.2 kB / 0.5837 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.4894, allocations: 290.4 kB / 0.584 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004349/0.4898, allocations: 0.6031 MB / 0.5846 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001259/0.4911, allocations: 1.475 MB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4911, allocations: 0 / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4911, allocations: 3.328 kB / 0.586 GB, free: 28.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4911, allocations: 3.938 kB / 0.586 GB, free: 28.23 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.008157/0.4993, allocations: 2.524 MB / 0.5885 GB, free: 27.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.4994, allocations: 9.125 kB / 0.5885 GB, free: 27.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001516/0.4995, allocations: 129.2 kB / 0.5886 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/0.5035, allocations: 0.671 MB / 0.5893 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5047, allocations: 0.7649 MB / 0.59 GB, free: 26.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000345/0.5051, allocations: 341 kB / 0.5904 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.5052, allocations: 71.16 kB / 0.5904 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.5076, allocations: 1.128 MB / 0.5915 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5076, allocations: 0 / 0.5915 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.5077, allocations: 26.5 kB / 0.5915 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/0.5077, allocations: 16.03 kB / 0.5916 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5101, allocations: 1.061 MB / 0.5926 GB, free: 25.22 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.006594/0.5167, allocations: 3.717 MB / 0.5962 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007963/0.5247, allocations: 2.508 MB / 0.5987 GB, free: 21.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.5264, allocations: 0.7531 MB / 0.5994 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.5266, allocations: 15.5 kB / 0.5994 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.5266, allocations: 44.89 kB / 0.5995 GB, free: 21.61 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.085e-06/0.5266, allocations: 0 / 0.5995 GB, free: 21.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03734/0.5639, allocations: 8.097 MB / 0.6074 GB, free: 20.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5641, allocations: 88.2 kB / 0.6075 GB, free: 20.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.5656, allocations: 0.8336 MB / 0.6083 GB, free: 19.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.5659, allocations: 41.25 kB / 0.6083 GB, free: 19.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.5662, allocations: 449.7 kB / 0.6087 GB, free: 19.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003817/0.5666, allocations: 325.1 kB / 0.6091 GB, free: 19.13 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.567, allocations: 170.5 kB / 0.6092 GB, free: 19.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5671, allocations: 342.8 kB / 0.6095 GB, free: 18.72 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.5688, allocations: 0.6485 MB / 0.6102 GB, free: 18.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00172/0.5705, allocations: 0.7967 MB / 0.611 GB, free: 18.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01599/0.5865, allocations: 4.519 MB / 0.6154 GB, free: 16.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.5866, allocations: 1.25 kB / 0.6154 GB, free: 16.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01404/0.6006, allocations: 4.34 MB / 0.6196 GB, free: 12.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.6007, allocations: 8 kB / 0.6196 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6007, allocations: 7.938 kB / 0.6196 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006333/0.6071, allocations: 2.092 MB / 0.6217 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.6078, allocations: 135.8 kB / 0.6218 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02442/0.6322, allocations: 10.63 MB / 0.6322 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.6342, allocations: 147.2 kB / 0.6323 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002217/0.6344, allocations: 39.98 kB / 0.6324 GB, free: 15.27 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.0006015/0.635, allocations: 235.4 kB / 0.6326 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003461/0.6354, allocations: 106.7 kB / 0.6327 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.65, allocations: 4.317 MB / 0.6369 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.6501, allocations: 8 kB / 0.6369 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.6501, allocations: 0 / 0.6369 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.934e-05/0.6502, allocations: 11.97 kB / 0.6369 GB, free: 10.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/0.6682, allocations: 5.729 MB / 0.6425 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.6683, allocations: 0 / 0.6425 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005943/0.6689, allocations: 91.89 kB / 0.6426 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006903/0.6758, allocations: 1.975 MB / 0.6445 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.6761, allocations: 27.92 kB / 0.6445 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02552/0.7016, allocations: 9.418 MB / 0.6537 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.7017, allocations: 0 / 0.6537 GB, free: 9.059 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.7188, allocations: 5.274 MB / 0.6589 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/0.7194, allocations: 199.6 kB / 0.6591 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004809/0.7199, allocations: 16.12 kB / 0.6591 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.7215, allocations: 111.9 kB / 0.6592 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009731/0.7225, allocations: 224.6 kB / 0.6594 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.7227, allocations: 24 kB / 0.6594 GB, free: 3.176 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.7239, allocations: 0.57 MB / 0.66 GB, free: 2.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7239, allocations: 0 / 0.66 GB, free: 2.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002445/0.7263, allocations: 431.6 kB / 0.6604 GB, free: 2.172 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.01825/0.7446, allocations: 5.839 MB / 0.6661 GB, free: 12.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009141/0.7538, allocations: 2.495 MB / 0.6686 GB, free: 9.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.7539, allocations: 4 kB / 0.6686 GB, free: 9.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006369/0.7602, allocations: 1.691 MB / 0.6702 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/0.7623, allocations: 99.31 kB / 0.6703 GB, free: 7.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04867/0.811, allocations: 16.2 MB / 0.6861 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009012/0.8119, allocations: 1.057 MB / 0.6872 GB, free: 6.324 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005797/0.8125, allocations: 86.44 kB / 0.6872 GB, free: 6.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/0.8133, allocations: 399.3 kB / 0.6876 GB, free: 5.844 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.8133, allocations: 4 kB / 0.6876 GB, free: 5.84 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06338/0.8767, allocations: 34.4 MB / 0.7212 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.8769, allocations: 211.2 kB / 0.7214 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.894/3.771, allocations: 0 / 0.7214 GB, free: 3.328 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)