Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.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.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",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.007027/0.007027, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.55/1.55, allocations: 222.9 MB / 239.4 MB, free: 4.398 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.001871/0.001871, allocations: 192.4 kB / 289.7 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5991/0.5991, allocations: 91.91 MB / 431.8 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004025/0.004025, allocations: 81.66 kB / 0.5722 GB, free: 34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.164, allocations: 71.3 MB / 0.6418 GB, free: 4.227 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009557/0.1736, allocations: 8.229 MB / 0.6499 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006329/0.18, allocations: 2.612 MB / 0.6524 GB, free: 9.34 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.1815, allocations: 12 kB / 0.6524 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009019/0.1825, allocations: 305.3 kB / 0.6527 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003606/0.1861, allocations: 1.143 MB / 0.6538 GB, free: 7.879 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1877, allocations: 0.6922 MB / 0.6545 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003458/0.1912, allocations: 2.375 MB / 0.6568 GB, free: 4.809 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005726/0.1918, allocations: 317 kB / 0.6571 GB, free: 4.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.1933, allocations: 0.9495 MB / 0.6581 GB, free: 3.527 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.1951, allocations: 1.315 MB / 0.6594 GB, free: 2.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.1955, allocations: 207.9 kB / 0.6596 GB, free: 2.004 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008552/0.1964, allocations: 383.8 kB / 0.6599 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.1969, allocations: 0.5021 MB / 0.6604 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.1979, allocations: 0.9751 MB / 0.6614 GB, free: 148 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003141/0.2011, allocations: 2.338 MB / 0.6636 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2011, allocations: 0 / 0.6636 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2011, allocations: 3.938 kB / 0.6637 GB, free: 13.79 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.237e-05/0.2012, allocations: 0 / 0.6637 GB, free: 13.79 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01645/0.2176, allocations: 4.147 MB / 0.6677 GB, free: 9.586 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/0.2177, allocations: 12.03 kB / 0.6677 GB, free: 9.574 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002133/0.2179, allocations: 139.4 kB / 0.6678 GB, free: 9.43 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003552/0.2215, allocations: 0.5886 MB / 0.6684 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002332/0.2238, allocations: 1.233 MB / 0.6696 GB, free: 7.559 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.2242, allocations: 272.8 kB / 0.6699 GB, free: 7.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.2244, allocations: 116 kB / 0.67 GB, free: 7.141 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.2267, allocations: 1.089 MB / 0.6711 GB, free: 6.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2267, allocations: 4 kB / 0.6711 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.2268, allocations: 28 kB / 0.6711 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.2269, allocations: 23.94 kB / 0.6711 GB, free: 5.988 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.2293, allocations: 1.179 MB / 0.6723 GB, free: 4.812 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.008624/0.2379, allocations: 4.615 MB / 0.6768 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003494/0.2414, allocations: 2.139 MB / 0.6789 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.243, allocations: 0.7934 MB / 0.6796 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.2431, allocations: 25.28 kB / 0.6797 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.2432, allocations: 43.88 kB / 0.6797 GB, free: 12.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 4.007e-06/0.2432, allocations: 0 / 0.6797 GB, free: 12.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02764/0.2708, allocations: 6.7 MB / 0.6862 GB, free: 6.035 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.271, allocations: 64.72 kB / 0.6863 GB, free: 5.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003042/0.274, allocations: 1.663 MB / 0.6879 GB, free: 4.289 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004546/0.2745, allocations: 57.7 kB / 0.688 GB, free: 4.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006202/0.2751, allocations: 0.5582 MB / 0.6885 GB, free: 3.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006925/0.2758, allocations: 0.5114 MB / 0.689 GB, free: 3.145 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/0.2767, allocations: 0.5134 MB / 0.6895 GB, free: 2.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2769, allocations: 305.1 kB / 0.6898 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.2791, allocations: 1.145 MB / 0.6909 GB, free: 1.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/0.2816, allocations: 1.36 MB / 0.6923 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004509/0.2861, allocations: 2.342 MB / 0.6946 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.2862, allocations: 0 / 0.6946 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009939/0.2961, allocations: 4.095 MB / 0.6986 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.2962, allocations: 8 kB / 0.6986 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.2962, allocations: 0 / 0.6986 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.3075, allocations: 2.823 MB / 0.7013 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/0.3102, allocations: 479.3 kB / 0.7018 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006327/0.3165, allocations: 2.527 MB / 0.7042 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.3198, allocations: 254.5 kB / 0.7045 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004921/0.3203, allocations: 87.97 kB / 0.7046 GB, free: 3.074 MB / 0.4981 GB 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001107/0.3215, allocations: 317.3 kB / 0.7049 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006817/0.3221, allocations: 174.8 kB / 0.705 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.3334, allocations: 3.558 MB / 0.7085 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.3335, allocations: 16 kB / 0.7085 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.073e-05/0.3335, allocations: 0 / 0.7085 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.572e-05/0.3335, allocations: 3.984 kB / 0.7085 GB, free: 14.98 MB / 0.5137 GB 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.01609/0.3496, allocations: 5.65 MB / 0.714 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.203e-05/0.3497, allocations: 3.938 kB / 0.7141 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.351, allocations: 163.8 kB / 0.7142 GB, free: 9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005581/0.3566, allocations: 1.484 MB / 0.7157 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003169/0.3569, allocations: 31.98 kB / 0.7157 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01988/0.3768, allocations: 7.85 MB / 0.7234 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3769, allocations: 4 kB / 0.7234 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01394/0.3908, allocations: 4.567 MB / 0.7278 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009314/0.3918, allocations: 307.7 kB / 0.7281 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/0.3925, allocations: 35.97 kB / 0.7281 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.3945, allocations: 75.94 kB / 0.7282 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/0.3953, allocations: 193.4 kB / 0.7284 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001878/0.3955, allocations: 35.98 kB / 0.7284 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002185/0.3977, allocations: 1.094 MB / 0.7295 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.046e-06/0.3977, allocations: 0 / 0.7295 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002578/0.4003, allocations: 0.605 MB / 0.7301 GB, free: 8.539 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01401/0.4143, allocations: 5.17 MB / 0.7351 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009507/0.4239, allocations: 3.002 MB / 0.7381 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4239, allocations: 0 / 0.7381 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/0.4289, allocations: 1.543 MB / 0.7396 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.4313, allocations: 130.8 kB / 0.7397 GB, free: 14.64 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04674/0.4781, allocations: 18.94 MB / 0.7582 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.4794, allocations: 1.234 MB / 0.7594 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001037/0.4804, allocations: 155.2 kB / 0.7596 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/0.4818, allocations: 0.632 MB / 0.7602 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/0.4819, allocations: 0 / 0.7602 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.47/2.952, allocations: 45.07 MB / 0.8042 GB, free: 97.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.71/18.67, allocations: 2.5 kB / 0.8042 GB, free: 97.61 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)