Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.006634/0.006634, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.312/1.312, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001341/0.001341, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4686/0.4686, allocations: 91.9 MB / 431.8 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002442/0.002442, allocations: 79.62 kB / 0.5722 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1234, allocations: 71.28 MB / 0.6418 GB, free: 4.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.005973/0.1294, allocations: 6.204 MB / 0.6479 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1329, allocations: 2.11 MB / 0.6499 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.1335, allocations: 12 kB / 0.65 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.134, allocations: 242.1 kB / 0.6502 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.136, allocations: 0.9202 MB / 0.6511 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.137, allocations: 0.5594 MB / 0.6516 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001617/0.1386, allocations: 1.683 MB / 0.6533 GB, free: 8.395 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000316/0.139, allocations: 203.3 kB / 0.6535 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000715/0.1397, allocations: 0.681 MB / 0.6541 GB, free: 7.5 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009076/0.1406, allocations: 0.9183 MB / 0.655 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001882/0.1408, allocations: 144 kB / 0.6552 GB, free: 6.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.1413, allocations: 319.8 kB / 0.6555 GB, free: 6.125 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002603/0.1416, allocations: 370.6 kB / 0.6558 GB, free: 5.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.1421, allocations: 0.6721 MB / 0.6565 GB, free: 5.086 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001492/0.1436, allocations: 1.693 MB / 0.6581 GB, free: 3.391 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1436, allocations: 4 kB / 0.6581 GB, free: 3.387 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1437, allocations: 0 / 0.6581 GB, free: 3.387 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.1437, allocations: 0 / 0.6581 GB, free: 3.387 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01086/0.1545, allocations: 3.141 MB / 0.6612 GB, free: 196 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.1546, allocations: 12.03 kB / 0.6612 GB, free: 184 kB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.1547, allocations: 110.6 kB / 0.6613 GB, free: 64 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002828/0.1576, allocations: 0.4911 MB / 0.6618 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1589, allocations: 0.8908 MB / 0.6627 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000255/0.1591, allocations: 222.2 kB / 0.6629 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.1593, allocations: 88 kB / 0.663 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.161, allocations: 0.8925 MB / 0.6638 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.161, allocations: 0 / 0.6638 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.568e-05/0.1611, allocations: 28 kB / 0.6639 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.1611, allocations: 16 kB / 0.6639 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.1632, allocations: 0.9928 MB / 0.6649 GB, free: 12.36 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.004472/0.1677, allocations: 2.919 MB / 0.6677 GB, free: 9.305 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/0.1703, allocations: 1.098 MB / 0.6688 GB, free: 8.203 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.1716, allocations: 0.6558 MB / 0.6694 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001161/0.1717, allocations: 20.97 kB / 0.6694 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1717, allocations: 43.56 kB / 0.6695 GB, free: 7.469 MB / 478.1 MB Notification: Performance of pre-optimization done (n=94): time 3.737e-06/0.1718, allocations: 4 kB / 0.6695 GB, free: 7.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=94): time 0.024/0.1958, allocations: 6.485 MB / 0.6758 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.1958, allocations: 60.41 kB / 0.6759 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.1974, allocations: 1.137 MB / 0.677 GB, free: 15.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.1976, allocations: 49.7 kB / 0.677 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002674/0.1979, allocations: 393.9 kB / 0.6774 GB, free: 15.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.1982, allocations: 363 kB / 0.6777 GB, free: 14.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005998/0.1989, allocations: 367.2 kB / 0.6781 GB, free: 14.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.278e-05/0.1989, allocations: 309.1 kB / 0.6784 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.2007, allocations: 0.9058 MB / 0.6793 GB, free: 13.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.2025, allocations: 0.9428 MB / 0.6802 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/0.2059, allocations: 1.805 MB / 0.682 GB, free: 10.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.2059, allocations: 4 kB / 0.682 GB, free: 10.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.006446/0.2124, allocations: 3.04 MB / 0.6849 GB, free: 7.527 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.2124, allocations: 7.938 kB / 0.6849 GB, free: 7.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.2124, allocations: 4 kB / 0.6849 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008517/0.221, allocations: 2.276 MB / 0.6872 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.2225, allocations: 315.6 kB / 0.6875 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004669/0.2272, allocations: 2.268 MB / 0.6897 GB, free: 2.633 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/0.229, allocations: 198.5 kB / 0.6899 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.2292, allocations: 59.97 kB / 0.6899 GB, free: 2.379 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0004203/0.2296, allocations: 245.6 kB / 0.6902 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/0.2299, allocations: 122.4 kB / 0.6903 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009851/0.2397, allocations: 3.297 MB / 0.6935 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/0.2398, allocations: 15.94 kB / 0.6935 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2398, allocations: 0 / 0.6935 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-05/0.2398, allocations: 7.969 kB / 0.6935 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2413, allocations: 1.21 MB / 0.6947 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2413, allocations: 0 / 0.6947 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006708/0.242, allocations: 111.9 kB / 0.6948 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00485/0.2469, allocations: 1.443 MB / 0.6962 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001204/0.247, allocations: 23.98 kB / 0.6962 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/0.2644, allocations: 7.823 MB / 0.7039 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2645, allocations: 0 / 0.7039 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.2758, allocations: 4.131 MB / 0.7079 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004221/0.2762, allocations: 231.3 kB / 0.7081 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.2764, allocations: 20 kB / 0.7082 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/0.2775, allocations: 87.91 kB / 0.7082 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/0.278, allocations: 176.7 kB / 0.7084 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.762e-05/0.2781, allocations: 28 kB / 0.7084 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009564/0.279, allocations: 0.7563 MB / 0.7092 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2791, allocations: 0 / 0.7092 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001098/0.2802, allocations: 439.8 kB / 0.7096 GB, free: 13.96 MB / 0.5137 GB 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 (62): * Single equations (assignments): 61 * 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.01108/0.2912, allocations: 4.607 MB / 0.7141 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006153/0.2974, allocations: 2.367 MB / 0.7164 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2975, allocations: 0 / 0.7164 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003615/0.3011, allocations: 1.306 MB / 0.7177 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.302, allocations: 90.88 kB / 0.7178 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.3245, allocations: 13.36 MB / 0.7308 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005132/0.3251, allocations: 1.053 MB / 0.7318 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004159/0.3255, allocations: 107.6 kB / 0.7319 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005859/0.3261, allocations: 431.3 kB / 0.7324 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of SimCode: time 7.42e-07/0.3261, allocations: 0 / 0.7324 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05974/0.3858, allocations: 33.68 MB / 0.7653 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.18, allocations: 9.938 kB / 0.7653 GB, free: 4.949 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)