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.00622/0.00622, allocations: 101.4 kB / 15.73 MB, free: 5.492 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.284/1.284, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001302/0.001302, allocations: 184.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4874/0.4874, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 81.22 kB / 0.5722 GB, free: 33.59 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 71.28 MB / 0.6418 GB, free: 4.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Solar.PSAT.SolarPQTest): time 0.006717/0.1377, allocations: 6.038 MB / 0.6477 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.1414, allocations: 1.794 MB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.1422, allocations: 12 kB / 0.6495 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007405/0.1429, allocations: 242.1 kB / 0.6497 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.1447, allocations: 0.6011 MB / 0.6503 GB, free: 11.37 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1465, allocations: 0.7644 MB / 0.6511 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.1482, allocations: 1.407 MB / 0.6524 GB, free: 9.195 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.1487, allocations: 286.1 kB / 0.6527 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006691/0.1493, allocations: 0.5602 MB / 0.6533 GB, free: 8.344 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007951/0.1502, allocations: 0.739 MB / 0.654 GB, free: 7.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.1503, allocations: 108 kB / 0.6541 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.1507, allocations: 223.9 kB / 0.6543 GB, free: 7.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.151, allocations: 286.8 kB / 0.6546 GB, free: 6.996 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.1515, allocations: 0.602 MB / 0.6552 GB, free: 6.391 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.1529, allocations: 1.484 MB / 0.6566 GB, free: 4.902 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.153, allocations: 0 / 0.6566 GB, free: 4.902 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.153, allocations: 0 / 0.6566 GB, free: 4.902 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.153, allocations: 0 / 0.6566 GB, free: 4.902 MB / 462.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.007927/0.1609, allocations: 2.532 MB / 0.6591 GB, free: 2.316 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.161, allocations: 11.97 kB / 0.6591 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.1611, allocations: 122.5 kB / 0.6592 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004137/0.1653, allocations: 0.6697 MB / 0.6599 GB, free: 1.504 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.1667, allocations: 0.7672 MB / 0.6606 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003995/0.1672, allocations: 349.2 kB / 0.661 GB, free: 304 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.1674, allocations: 75.98 kB / 0.661 GB, free: 228 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.1696, allocations: 1.118 MB / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.1696, allocations: 0 / 0.6621 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.1697, allocations: 28 kB / 0.6621 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1697, allocations: 16 kB / 0.6622 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002178/0.1719, allocations: 1.07 MB / 0.6632 GB, free: 13.98 MB / 478.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.006448/0.1784, allocations: 3.691 MB / 0.6668 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006948/0.1854, allocations: 2.495 MB / 0.6692 GB, free: 7.457 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.187, allocations: 0.7547 MB / 0.67 GB, free: 6.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.1872, allocations: 20.97 kB / 0.67 GB, free: 6.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.1872, allocations: 43.56 kB / 0.67 GB, free: 6.625 MB / 478.1 MB Notification: Performance of pre-optimization done (n=92): time 2.885e-06/0.1872, allocations: 0 / 0.67 GB, free: 6.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=92): time 0.03093/0.2182, allocations: 8.103 MB / 0.678 GB, free: 14.48 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.2183, allocations: 86.11 kB / 0.678 GB, free: 14.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2194, allocations: 0.831 MB / 0.6789 GB, free: 13.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000201/0.2196, allocations: 41.7 kB / 0.6789 GB, free: 13.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/0.2199, allocations: 444.5 kB / 0.6793 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003065/0.2202, allocations: 327.3 kB / 0.6796 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004185/0.2206, allocations: 162.6 kB / 0.6798 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2208, allocations: 341.9 kB / 0.6801 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.2222, allocations: 0.65 MB / 0.6807 GB, free: 11.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.2237, allocations: 0.8002 MB / 0.6815 GB, free: 10.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/0.2385, allocations: 4.515 MB / 0.6859 GB, free: 6.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.2386, allocations: 4 kB / 0.6859 GB, free: 6.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.01367/0.2523, allocations: 4.339 MB / 0.6902 GB, free: 1.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.2523, allocations: 5.094 kB / 0.6902 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2523, allocations: 4 kB / 0.6902 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006598/0.2589, allocations: 2.084 MB / 0.6922 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.2597, allocations: 143.8 kB / 0.6924 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02614/0.2859, allocations: 10.6 MB / 0.7027 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.2875, allocations: 163 kB / 0.7029 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.2876, allocations: 35.98 kB / 0.7029 GB, free: 4.602 MB / 0.4981 GB 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.0005085/0.2882, allocations: 238.6 kB / 0.7031 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.2884, allocations: 106.7 kB / 0.7032 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01348/0.3019, allocations: 4.313 MB / 0.7074 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/0.302, allocations: 12 kB / 0.7075 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.302, allocations: 0 / 0.7075 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.302, allocations: 11.92 kB / 0.7075 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.3169, allocations: 5.721 MB / 0.7131 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.3169, allocations: 0 / 0.7131 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004804/0.3174, allocations: 87.83 kB / 0.7131 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.3236, allocations: 1.979 MB / 0.7151 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.3238, allocations: 23.92 kB / 0.7151 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/0.3462, allocations: 9.414 MB / 0.7243 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3463, allocations: 0 / 0.7243 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/0.3614, allocations: 5.272 MB / 0.7294 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.3618, allocations: 199.6 kB / 0.7296 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.362, allocations: 19.94 kB / 0.7296 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.363, allocations: 103.9 kB / 0.7297 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007005/0.3637, allocations: 228.5 kB / 0.73 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.3638, allocations: 24 kB / 0.73 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007384/0.3645, allocations: 0.57 MB / 0.7305 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3645, allocations: 0 / 0.7305 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001293/0.3658, allocations: 431.5 kB / 0.7309 GB, free: 7.516 MB / 0.5294 GB 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.01541/0.3813, allocations: 5.838 MB / 0.7367 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006977/0.3883, allocations: 2.456 MB / 0.739 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3883, allocations: 0 / 0.739 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005228/0.3935, allocations: 1.706 MB / 0.7407 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009087/0.3945, allocations: 96.58 kB / 0.7408 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/0.4308, allocations: 15.36 MB / 0.7558 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.4314, allocations: 1.057 MB / 0.7568 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003152/0.4317, allocations: 82.45 kB / 0.7569 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/0.4322, allocations: 403.3 kB / 0.7573 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.4322, allocations: 0 / 0.7573 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3369/0.7691, allocations: 36.07 MB / 0.7925 GB, free: 111 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.44, allocations: 5.703 kB / 0.7925 GB, free: 111 MB / 0.5606 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)