Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08391/0.08391, allocations: 12.58 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 107.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001545/0.001545, allocations: 188.5 kB / 290.7 MB, free: 10.94 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4398/0.4398, allocations: 78.51 MB / 419.3 MB, free: 10.77 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 139.2 kB / 0.5554 GB, free: 17.93 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1342, allocations: 68.12 MB / 0.6219 GB, free: 13.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008433/0.1427, allocations: 6.993 MB / 0.6287 GB, free: 6.746 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005002/0.1477, allocations: 2.267 MB / 0.6309 GB, free: 4.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.149, allocations: 8 kB / 0.6309 GB, free: 4.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009537/0.15, allocations: 253.9 kB / 0.6312 GB, free: 4.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003897/0.1539, allocations: 1.284 MB / 0.6324 GB, free: 2.938 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.1552, allocations: 0.4991 MB / 0.6329 GB, free: 2.441 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.1581, allocations: 2.019 MB / 0.6349 GB, free: 428 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005529/0.1587, allocations: 257 kB / 0.6351 GB, free: 156 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/0.16, allocations: 0.7822 MB / 0.6359 GB, free: 15.37 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001686/0.1617, allocations: 1.043 MB / 0.6369 GB, free: 14.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006177/0.1623, allocations: 160 kB / 0.6371 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.1635, allocations: 323.8 kB / 0.6374 GB, free: 13.85 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004739/0.164, allocations: 406.5 kB / 0.6378 GB, free: 13.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008743/0.1648, allocations: 0.7809 MB / 0.6385 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002094/0.1669, allocations: 1.899 MB / 0.6404 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.167, allocations: 0 / 0.6404 GB, free: 10.76 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.167, allocations: 3.938 kB / 0.6404 GB, free: 10.75 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.167, allocations: 0 / 0.6404 GB, free: 10.75 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01579/0.1828, allocations: 3.94 MB / 0.6442 GB, free: 6.754 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1829, allocations: 15.98 kB / 0.6442 GB, free: 6.738 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001755/0.183, allocations: 118.7 kB / 0.6444 GB, free: 6.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003283/0.1863, allocations: 0.5305 MB / 0.6449 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001694/0.188, allocations: 0.9789 MB / 0.6458 GB, free: 5.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000312/0.1884, allocations: 234.9 kB / 0.6461 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1886, allocations: 84 kB / 0.6461 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.1908, allocations: 0.9833 MB / 0.6471 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1908, allocations: 0 / 0.6471 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.1909, allocations: 24 kB / 0.6471 GB, free: 3.695 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.1909, allocations: 20 kB / 0.6471 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.1935, allocations: 1.093 MB / 0.6482 GB, free: 2.582 MB / 462.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.006518/0.2001, allocations: 3.747 MB / 0.6519 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.2033, allocations: 1.677 MB / 0.6535 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.2048, allocations: 0.7119 MB / 0.6542 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.92e-05/0.2049, allocations: 16.98 kB / 0.6542 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.205, allocations: 43.56 kB / 0.6543 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.276e-06/0.205, allocations: 0 / 0.6543 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02181/0.2268, allocations: 5.605 MB / 0.6597 GB, free: 6.449 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.2269, allocations: 64.41 kB / 0.6598 GB, free: 6.375 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001937/0.2288, allocations: 1.283 MB / 0.661 GB, free: 5.082 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/0.2291, allocations: 53.64 kB / 0.6611 GB, free: 5.023 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003831/0.2295, allocations: 482.2 kB / 0.6616 GB, free: 4.547 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.2299, allocations: 408.6 kB / 0.6619 GB, free: 4.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006361/0.2306, allocations: 379.4 kB / 0.6623 GB, free: 3.766 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2307, allocations: 309.1 kB / 0.6626 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002001/0.2327, allocations: 0.941 MB / 0.6635 GB, free: 2.516 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.2349, allocations: 1.113 MB / 0.6646 GB, free: 1.371 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.2387, allocations: 1.931 MB / 0.6665 GB, free: 15.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.2388, allocations: 4 kB / 0.6665 GB, free: 15.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00668/0.2455, allocations: 3.044 MB / 0.6695 GB, free: 12.35 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.2455, allocations: 8 kB / 0.6695 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.2455, allocations: 0 / 0.6695 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008721/0.2542, allocations: 2.28 MB / 0.6717 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/0.2561, allocations: 351.5 kB / 0.672 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005146/0.2612, allocations: 2.28 MB / 0.6743 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002131/0.2634, allocations: 230.7 kB / 0.6745 GB, free: 7.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.2635, allocations: 67.97 kB / 0.6746 GB, free: 7.117 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (204): * Single equations (assignments): 203 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004935/0.264, allocations: 269.5 kB / 0.6748 GB, free: 6.844 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.2643, allocations: 139.1 kB / 0.6749 GB, free: 6.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01076/0.2751, allocations: 3.35 MB / 0.6782 GB, free: 3.344 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.2751, allocations: 8 kB / 0.6782 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.2751, allocations: 0 / 0.6782 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-05/0.2752, allocations: 7.969 kB / 0.6782 GB, free: 3.328 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.3158/0.5909, allocations: 5.029 MB / 0.6831 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.591, allocations: 0.6094 kB / 0.6831 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009935/0.592, allocations: 131.9 kB / 0.6833 GB, free: 53.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006128/0.5982, allocations: 1.437 MB / 0.6847 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000256/0.5985, allocations: 25.5 kB / 0.6847 GB, free: 53.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/0.6206, allocations: 7.835 MB / 0.6923 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.6207, allocations: 1.125 kB / 0.6923 GB, free: 50.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01402/0.6347, allocations: 4.235 MB / 0.6965 GB, free: 48.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.6355, allocations: 261.3 kB / 0.6967 GB, free: 48.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002212/0.6357, allocations: 24.86 kB / 0.6968 GB, free: 48.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.637, allocations: 97.38 kB / 0.6968 GB, free: 48.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/0.6376, allocations: 182.1 kB / 0.697 GB, free: 48.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-05/0.6377, allocations: 31.31 kB / 0.6971 GB, free: 48.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001152/0.6389, allocations: 0.8441 MB / 0.6979 GB, free: 48.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.052e-06/0.6389, allocations: 1.406 kB / 0.6979 GB, free: 48.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00148/0.6404, allocations: 480.6 kB / 0.6983 GB, free: 48.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * 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 (71): * Single equations (assignments): 70 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/0.6524, allocations: 4.71 MB / 0.7029 GB, free: 46.43 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007038/0.6595, allocations: 2.475 MB / 0.7054 GB, free: 45.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6595, allocations: 0 / 0.7054 GB, free: 45.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00405/0.6635, allocations: 1.358 MB / 0.7067 GB, free: 45.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.6647, allocations: 111.3 kB / 0.7068 GB, free: 45.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02517/0.6899, allocations: 14.71 MB / 0.7211 GB, free: 34.19 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004402/0.6904, allocations: 1.116 MB / 0.7222 GB, free: 33.04 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000523/0.6909, allocations: 124.6 kB / 0.7224 GB, free: 32.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006591/0.6916, allocations: 0.4954 MB / 0.7228 GB, free: 32.42 MB / 494.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6916, allocations: 0 / 0.7228 GB, free: 32.42 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.7516, allocations: 36.18 MB / 0.7582 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.69, allocations: 7.812 kB / 0.7582 GB, free: 12.38 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)