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.001066/0.001066, allocations: 108 kB / 15.61 MB, free: 152 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.353/1.353, allocations: 222.9 MB / 239.3 MB, free: 4.594 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.001487/0.001486, allocations: 192.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5265/0.5265, allocations: 91.89 MB / 431.6 MB, free: 9.285 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 83.88 kB / 0.502 GB, free: 7.656 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3287, allocations: 71.26 MB / 0.5716 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.004993/0.3337, allocations: 6.015 MB / 0.5774 GB, free: 33.14 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002917/0.3367, allocations: 1.815 MB / 0.5792 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.3371, allocations: 11.81 kB / 0.5792 GB, free: 32.03 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004578/0.3376, allocations: 234.7 kB / 0.5795 GB, free: 31.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001106/0.3387, allocations: 0.5531 MB / 0.58 GB, free: 31.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.3401, allocations: 0.7715 MB / 0.5807 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3413, allocations: 1.394 MB / 0.5821 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003549/0.3416, allocations: 287.4 kB / 0.5824 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.3422, allocations: 0.5684 MB / 0.5829 GB, free: 30.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006694/0.3429, allocations: 0.724 MB / 0.5836 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.343, allocations: 113.6 kB / 0.5838 GB, free: 29.67 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004407/0.3435, allocations: 221.5 kB / 0.584 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.3437, allocations: 285.9 kB / 0.5842 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004587/0.3442, allocations: 0.6023 MB / 0.5848 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.3454, allocations: 1.485 MB / 0.5863 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3454, allocations: 0 / 0.5863 GB, free: 28.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3454, allocations: 0 / 0.5863 GB, free: 28.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3454, allocations: 0 / 0.5863 GB, free: 28.37 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.008164/0.3536, allocations: 2.524 MB / 0.5887 GB, free: 27.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3536, allocations: 9.625 kB / 0.5887 GB, free: 27.26 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.3538, allocations: 123.6 kB / 0.5889 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004228/0.358, allocations: 0.6736 MB / 0.5895 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001105/0.3592, allocations: 0.7524 MB / 0.5903 GB, free: 26.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003504/0.3595, allocations: 346.1 kB / 0.5906 GB, free: 26.19 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.3597, allocations: 70.47 kB / 0.5907 GB, free: 26.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.362, allocations: 1.129 MB / 0.5918 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.362, allocations: 0 / 0.5918 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.409e-05/0.3621, allocations: 29.91 kB / 0.5918 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3621, allocations: 17.41 kB / 0.5918 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.3644, allocations: 1.06 MB / 0.5928 GB, free: 25.36 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.006204/0.3706, allocations: 3.717 MB / 0.5965 GB, free: 23.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007644/0.3783, allocations: 2.507 MB / 0.5989 GB, free: 22.1 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.38, allocations: 0.7577 MB / 0.5997 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3801, allocations: 12.92 kB / 0.5997 GB, free: 21.8 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3801, allocations: 48.06 kB / 0.5997 GB, free: 21.75 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 2.855e-06/0.3801, allocations: 0 / 0.5997 GB, free: 21.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03529/0.4154, allocations: 8.097 MB / 0.6076 GB, free: 20.39 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4155, allocations: 89.12 kB / 0.6077 GB, free: 20.29 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.4168, allocations: 0.8335 MB / 0.6085 GB, free: 19.93 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001603/0.4169, allocations: 41.27 kB / 0.6086 GB, free: 19.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.4172, allocations: 446.1 kB / 0.609 GB, free: 19.53 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002983/0.4175, allocations: 324.7 kB / 0.6093 GB, free: 19.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.4179, allocations: 167.7 kB / 0.6095 GB, free: 19.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.418, allocations: 341.5 kB / 0.6098 GB, free: 18.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.4196, allocations: 0.6501 MB / 0.6104 GB, free: 18.65 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.4212, allocations: 0.8004 MB / 0.6112 GB, free: 18.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/0.4369, allocations: 4.519 MB / 0.6156 GB, free: 16.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.4369, allocations: 5.094 kB / 0.6156 GB, free: 16.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01446/0.4514, allocations: 4.333 MB / 0.6198 GB, free: 12.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4515, allocations: 8 kB / 0.6199 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.4515, allocations: 4 kB / 0.6199 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006629/0.4581, allocations: 2.088 MB / 0.6219 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006946/0.4588, allocations: 143.8 kB / 0.622 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02556/0.4844, allocations: 10.62 MB / 0.6324 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.4861, allocations: 151.2 kB / 0.6325 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4862, allocations: 43.92 kB / 0.6326 GB, free: 15.39 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.0004887/0.4867, allocations: 236.5 kB / 0.6328 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.487, allocations: 106.7 kB / 0.6329 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01587/0.5028, allocations: 4.321 MB / 0.6371 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/0.5029, allocations: 8 kB / 0.6371 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5029, allocations: 3.938 kB / 0.6371 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/0.5029, allocations: 7.984 kB / 0.6372 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01728/0.5202, allocations: 5.729 MB / 0.6428 GB, free: 4.844 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.5203, allocations: 4 kB / 0.6428 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.5208, allocations: 83.91 kB / 0.6428 GB, free: 4.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007089/0.5279, allocations: 1.983 MB / 0.6448 GB, free: 2.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001331/0.5281, allocations: 23.94 kB / 0.6448 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02604/0.5541, allocations: 9.422 MB / 0.654 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.5541, allocations: 0 / 0.654 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01748/0.5716, allocations: 5.27 MB / 0.6591 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.5722, allocations: 203.6 kB / 0.6593 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.5726, allocations: 16 kB / 0.6594 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.5741, allocations: 111.9 kB / 0.6595 GB, free: 3.535 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008029/0.5749, allocations: 220.7 kB / 0.6597 GB, free: 3.316 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.5751, allocations: 20 kB / 0.6597 GB, free: 3.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009623/0.576, allocations: 0.5739 MB / 0.6602 GB, free: 2.711 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.576, allocations: 0 / 0.6602 GB, free: 2.711 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001558/0.5776, allocations: 427.6 kB / 0.6607 GB, free: 2.293 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.01753/0.5951, allocations: 5.85 MB / 0.6664 GB, free: 12.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008468/0.6036, allocations: 2.483 MB / 0.6688 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6037, allocations: 0 / 0.6688 GB, free: 9.906 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006083/0.6098, allocations: 1.687 MB / 0.6704 GB, free: 8.207 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.611, allocations: 95.33 kB / 0.6705 GB, free: 8.113 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0436/0.6547, allocations: 15.86 MB / 0.686 GB, free: 7.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007703/0.6555, allocations: 1.049 MB / 0.687 GB, free: 6.793 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004018/0.6559, allocations: 86.44 kB / 0.6871 GB, free: 6.703 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/0.6565, allocations: 407.3 kB / 0.6875 GB, free: 6.305 MB / 494.1 MB Notification: Performance of SimCode: time 9.52e-07/0.6565, allocations: 3.938 kB / 0.6875 GB, free: 6.301 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06798/0.7245, allocations: 35.68 MB / 0.7224 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.36, allocations: 13.92 kB / 0.7224 GB, free: 2.695 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest.fmu > OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.pipe 2>&1)