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.001421/0.001421, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 222.9 MB / 239.3 MB, free: 4.578 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.002112/0.002112, allocations: 192.4 kB / 289.6 MB, free: 2.297 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6062/0.6062, allocations: 91.91 MB / 431.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 80.16 kB / 0.502 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6362/0.6382, allocations: 71.26 MB / 0.5716 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.007765/0.6461, allocations: 6.027 MB / 0.5775 GB, free: 33 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004155/0.6502, allocations: 1.802 MB / 0.5792 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.6508, allocations: 10.5 kB / 0.5792 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006778/0.6515, allocations: 246.8 kB / 0.5795 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.653, allocations: 0.5518 MB / 0.58 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.6547, allocations: 0.7681 MB / 0.5808 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001732/0.6565, allocations: 1.393 MB / 0.5821 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.6568, allocations: 287.3 kB / 0.5824 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004901/0.6573, allocations: 0.5641 MB / 0.5829 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000687/0.658, allocations: 0.7348 MB / 0.5837 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.6582, allocations: 107.2 kB / 0.5838 GB, free: 29.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.6586, allocations: 216.7 kB / 0.584 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002731/0.6589, allocations: 289.8 kB / 0.5842 GB, free: 29.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005623/0.6595, allocations: 0.5995 MB / 0.5848 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001651/0.6611, allocations: 1.475 MB / 0.5863 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.6612, allocations: 1.906 kB / 0.5863 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6612, allocations: 0 / 0.5863 GB, free: 28.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.6612, allocations: 4 kB / 0.5863 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.00869/0.6699, allocations: 2.53 MB / 0.5887 GB, free: 27.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.244e-05/0.67, allocations: 9.969 kB / 0.5888 GB, free: 27.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/0.6702, allocations: 123.5 kB / 0.5889 GB, free: 27.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004219/0.6744, allocations: 0.6725 MB / 0.5895 GB, free: 26.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6755, allocations: 0.7485 MB / 0.5903 GB, free: 26.36 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.6759, allocations: 349.6 kB / 0.5906 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/0.6761, allocations: 76.03 kB / 0.5907 GB, free: 26.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.6784, allocations: 1.119 MB / 0.5918 GB, free: 25.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/0.6784, allocations: 3.938 kB / 0.5918 GB, free: 25.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6785, allocations: 29.5 kB / 0.5918 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.6786, allocations: 21.03 kB / 0.5918 GB, free: 25.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.6811, allocations: 1.06 MB / 0.5928 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.006877/0.688, allocations: 3.716 MB / 0.5965 GB, free: 22.96 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008152/0.6962, allocations: 2.514 MB / 0.5989 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001806/0.698, allocations: 0.7496 MB / 0.5997 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.6981, allocations: 21.17 kB / 0.5997 GB, free: 21.65 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.6982, allocations: 44.06 kB / 0.5997 GB, free: 21.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.657e-06/0.6982, allocations: 0 / 0.5997 GB, free: 21.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03998/0.7382, allocations: 8.098 MB / 0.6076 GB, free: 20.24 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.7383, allocations: 92.69 kB / 0.6077 GB, free: 20.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.7401, allocations: 0.8325 MB / 0.6085 GB, free: 19.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002752/0.7404, allocations: 41.45 kB / 0.6086 GB, free: 19.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004432/0.7408, allocations: 446.8 kB / 0.609 GB, free: 19.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004943/0.7413, allocations: 324.5 kB / 0.6093 GB, free: 19.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/0.7418, allocations: 166.9 kB / 0.6095 GB, free: 19.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.7419, allocations: 342.8 kB / 0.6098 GB, free: 18.71 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.7438, allocations: 0.6525 MB / 0.6104 GB, free: 18.49 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.7457, allocations: 0.794 MB / 0.6112 GB, free: 18.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/0.7621, allocations: 4.517 MB / 0.6156 GB, free: 15.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.7622, allocations: 1.281 kB / 0.6156 GB, free: 15.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01553/0.7777, allocations: 4.343 MB / 0.6199 GB, free: 12.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.7778, allocations: 4 kB / 0.6199 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7778, allocations: 4 kB / 0.6199 GB, free: 12.56 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/0.7845, allocations: 2.088 MB / 0.6219 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007752/0.7853, allocations: 135.8 kB / 0.622 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02557/0.8109, allocations: 10.63 MB / 0.6324 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.813, allocations: 159.2 kB / 0.6326 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.956e-05/0.8131, allocations: 32 kB / 0.6326 GB, free: 15.36 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.0006526/0.8137, allocations: 240 kB / 0.6328 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.8142, allocations: 106.7 kB / 0.6329 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01562/0.8298, allocations: 4.317 MB / 0.6371 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.8299, allocations: 15.94 kB / 0.6372 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.8299, allocations: 0 / 0.6372 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-05/0.8299, allocations: 7.969 kB / 0.6372 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.8474, allocations: 5.725 MB / 0.6428 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.8475, allocations: 3.938 kB / 0.6428 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005295/0.848, allocations: 87.89 kB / 0.6428 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007511/0.8555, allocations: 1.979 MB / 0.6448 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.8557, allocations: 23.92 kB / 0.6448 GB, free: 2.723 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02687/0.8826, allocations: 9.421 MB / 0.654 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8826, allocations: 0 / 0.654 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/0.9002, allocations: 5.274 MB / 0.6591 GB, free: 3.852 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006568/0.9009, allocations: 199.6 kB / 0.6593 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/0.9013, allocations: 20.11 kB / 0.6594 GB, free: 3.617 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/0.9028, allocations: 103.9 kB / 0.6595 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008586/0.9036, allocations: 224.7 kB / 0.6597 GB, free: 3.293 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.9038, allocations: 24 kB / 0.6597 GB, free: 3.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.9049, allocations: 0.5739 MB / 0.6603 GB, free: 2.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9049, allocations: 0 / 0.6603 GB, free: 2.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00185/0.9067, allocations: 427.6 kB / 0.6607 GB, free: 2.266 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.01813/0.9249, allocations: 5.842 MB / 0.6664 GB, free: 12.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008656/0.9336, allocations: 2.487 MB / 0.6688 GB, free: 9.883 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.9336, allocations: 3.938 kB / 0.6688 GB, free: 9.879 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006117/0.9397, allocations: 1.691 MB / 0.6705 GB, free: 8.176 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.941, allocations: 99.31 kB / 0.6705 GB, free: 8.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04489/0.9859, allocations: 15.84 MB / 0.686 GB, free: 7.848 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.9871, allocations: 1.061 MB / 0.6871 GB, free: 6.758 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005517/0.9876, allocations: 82.44 kB / 0.6871 GB, free: 6.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007728/0.9884, allocations: 403.3 kB / 0.6875 GB, free: 6.277 MB / 494.1 MB Notification: Performance of SimCode: time 1.083e-06/0.9884, allocations: 0 / 0.6875 GB, free: 6.277 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08247/1.071, allocations: 35.7 MB / 0.7224 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/14.13, allocations: 7.297 kB / 0.7224 GB, free: 2.68 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)