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: "" <> 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/Complex 4.0.0+maint.om/package.mo): time 0.0009545/0.0009548, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 221.5 MB / 229.6 MB, free: 3.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009334/0.0009334, allocations: 82.88 kB / 280.5 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.498/0.498, allocations: 78.94 MB / 410.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.322e-05/2.328e-05, allocations: 7.938 kB / 486 MB, free: 3.184 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3757, allocations: 69.52 MB / 0.5425 GB, free: 21.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.5177, allocations: 98.71 MB / 0.6389 GB, free: 4.969 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5181, allocations: 79.95 kB / 0.639 GB, free: 4.891 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08255/0.6007, allocations: 28.65 MB / 0.667 GB, free: 8.023 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6007, allocations: 0 / 0.667 GB, free: 8.023 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.284e-05/0.6008, allocations: 20 kB / 0.667 GB, free: 8.004 MB / 490.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.005343/0.6062, allocations: 1.609 MB / 0.6686 GB, free: 6.348 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6062, allocations: 8.031 kB / 0.6686 GB, free: 6.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003125/0.6094, allocations: 486 kB / 0.669 GB, free: 5.863 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.6111, allocations: 0.6745 MB / 0.6697 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.6116, allocations: 321.2 kB / 0.67 GB, free: 4.777 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003082/0.6119, allocations: 44 kB / 0.67 GB, free: 4.734 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001899/0.6138, allocations: 0.8357 MB / 0.6709 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.6155, allocations: 0.8175 MB / 0.6717 GB, free: 3.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.6156, allocations: 7.938 kB / 0.6717 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/0.6157, allocations: 0 / 0.6717 GB, free: 3.062 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.6157, allocations: 16 kB / 0.6717 GB, free: 3.047 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.3543/0.9701, allocations: 3.633 MB / 0.6752 GB, free: 106.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008107/0.9782, allocations: 2.717 MB / 0.6779 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001236/0.9795, allocations: 0.5512 MB / 0.6784 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001406/0.9796, allocations: 14.86 kB / 0.6784 GB, free: 105.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.9797, allocations: 41.45 kB / 0.6785 GB, free: 105.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=92): time 5.62e-06/0.9797, allocations: 0.7812 kB / 0.6785 GB, free: 105.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.01561/0.9953, allocations: 4.403 MB / 0.6828 GB, free: 105.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.9955, allocations: 87.23 kB / 0.6829 GB, free: 105.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.9971, allocations: 0.6609 MB / 0.6835 GB, free: 105 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.9973, allocations: 25.7 kB / 0.6835 GB, free: 105 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.9977, allocations: 458.6 kB / 0.684 GB, free: 104.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004135/0.9981, allocations: 312.3 kB / 0.6843 GB, free: 104.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.498e-05/0.9982, allocations: 0 / 0.6843 GB, free: 104.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.9983, allocations: 339 kB / 0.6846 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007321/0.999, allocations: 426.9 kB / 0.685 GB, free: 104.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/0.9998, allocations: 0.5367 MB / 0.6855 GB, free: 104.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/1.001, allocations: 472.9 kB / 0.686 GB, free: 104.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.001, allocations: 1.25 kB / 0.686 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01314/1.014, allocations: 4.442 MB / 0.6903 GB, free: 104 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.36e-05/1.014, allocations: 7.641 kB / 0.6903 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.014, allocations: 3.688 kB / 0.6903 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005483/1.019, allocations: 1.836 MB / 0.6921 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.02, allocations: 113.9 kB / 0.6922 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/1.037, allocations: 7.9 MB / 0.6999 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.038, allocations: 175.6 kB / 0.7001 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/1.038, allocations: 32.39 kB / 0.7001 GB, free: 99.98 MB / 490.7 MB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" ) "d-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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.000313/1.039, allocations: 125.2 kB / 0.7003 GB, free: 99.87 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01256/1.051, allocations: 4.404 MB / 0.7046 GB, free: 98.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005023/1.052, allocations: 108.4 kB / 0.7047 GB, free: 98.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.064, allocations: 4.419 MB / 0.709 GB, free: 96.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/1.065, allocations: 8 kB / 0.709 GB, free: 96.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.065, allocations: 4 kB / 0.709 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.393e-05/1.065, allocations: 3.75 kB / 0.709 GB, free: 96.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/1.08, allocations: 5.857 MB / 0.7147 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/1.08, allocations: 0 / 0.7147 GB, free: 91.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005263/1.08, allocations: 87.28 kB / 0.7148 GB, free: 91.59 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/1.086, allocations: 1.819 MB / 0.7166 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/1.086, allocations: 8 kB / 0.7166 GB, free: 90.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/1.101, allocations: 7.125 MB / 0.7235 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/1.102, allocations: 0 / 0.7235 GB, free: 83.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.013/1.115, allocations: 5.273 MB / 0.7287 GB, free: 77.87 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/1.115, allocations: 203.3 kB / 0.7289 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/1.115, allocations: 0 / 0.7289 GB, free: 77.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.117, allocations: 135.5 kB / 0.729 GB, free: 77.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006497/1.117, allocations: 228.3 kB / 0.7292 GB, free: 77.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.761e-05/1.117, allocations: 20 kB / 0.7292 GB, free: 77.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007067/1.118, allocations: 0.5116 MB / 0.7297 GB, free: 76.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/1.118, allocations: 0 / 0.7297 GB, free: 76.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001537/1.12, allocations: 379.8 kB / 0.7301 GB, free: 76.41 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01379/1.133, allocations: 5.913 MB / 0.7359 GB, free: 70.47 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005954/1.139, allocations: 2.104 MB / 0.7379 GB, free: 68.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/1.139, allocations: 0 / 0.7379 GB, free: 68.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004961/1.144, allocations: 1.602 MB / 0.7395 GB, free: 66.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009911/1.145, allocations: 71.2 kB / 0.7396 GB, free: 66.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/1.149, allocations: 1.612 MB / 0.7411 GB, free: 65.05 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/1.15, allocations: 1.076 MB / 0.7422 GB, free: 63.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003446/1.15, allocations: 68.5 kB / 0.7423 GB, free: 63.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004517/1.151, allocations: 387.3 kB / 0.7426 GB, free: 63.51 MB / 490.7 MB Notification: Performance of SimCode: time 2.274e-06/1.151, allocations: 4 kB / 0.7426 GB, free: 63.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05187/1.203, allocations: 29.55 MB / 0.7715 GB, free: 34.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/1.203, allocations: 124.9 kB / 0.7716 GB, free: 34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.066/4.269, allocations: 0 / 0.7716 GB, free: 34 MB / 490.7 MB (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/linux/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)