Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_2_0_0_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/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.2 MB / 218.5 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008346/0.0008346, allocations: 93.92 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06048/0.06048, allocations: 12.2 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2734/0.2734, allocations: 78.03 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0992/0.09925, allocations: 69.23 MB / 0.5889 GB, free: 2.926 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3509/0.4502, allocations: 105.5 MB / 0.6919 GB, free: 10.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.4504, allocations: 71.91 kB / 0.692 GB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1293/0.5797, allocations: 49.54 MB / 0.7404 GB, free: 1 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5797, allocations: 0 / 0.7404 GB, free: 1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001206/0.5799, allocations: 28 kB / 0.7404 GB, free: 0.9727 MB / 474.7 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.005351/0.5852, allocations: 1.923 MB / 0.7423 GB, free: 15.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.5853, allocations: 11.98 kB / 0.7423 GB, free: 15.11 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004053/0.5857, allocations: 137.1 kB / 0.7424 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.5886, allocations: 464.9 kB / 0.7429 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.5908, allocations: 1.078 MB / 0.7439 GB, free: 13.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/0.5912, allocations: 255.2 kB / 0.7441 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003254/0.5915, allocations: 97.78 kB / 0.7442 GB, free: 13.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.5933, allocations: 0.9615 MB / 0.7452 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5933, allocations: 0 / 0.7452 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.595e-05/0.5934, allocations: 36.06 kB / 0.7452 GB, free: 12.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.877e-05/0.5934, allocations: 20 kB / 0.7452 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.5951, allocations: 1.024 MB / 0.7462 GB, free: 12.12 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006913/0.602, allocations: 4.365 MB / 0.7505 GB, free: 8.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.6046, allocations: 2.016 MB / 0.7525 GB, free: 6.961 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.6056, allocations: 0.6827 MB / 0.7531 GB, free: 6.281 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.6058, allocations: 25.28 kB / 0.7532 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.6058, allocations: 44.06 kB / 0.7532 GB, free: 6.203 MB / 490.7 MB Notification: Performance of pre-optimization done (n=130): time 3.447e-06/0.6058, allocations: 0 / 0.7532 GB, free: 6.203 MB / 490.7 MB Notification: Performance of matching and sorting (n=130): time 0.01014/0.616, allocations: 3.546 MB / 0.7567 GB, free: 2.637 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.616, allocations: 72.59 kB / 0.7567 GB, free: 2.555 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/0.6183, allocations: 1.342 MB / 0.758 GB, free: 1.207 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002927/0.6186, allocations: 49.7 kB / 0.7581 GB, free: 1.152 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000505/0.6192, allocations: 0.6373 MB / 0.7587 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005317/0.6197, allocations: 469.1 kB / 0.7592 GB, free: 44 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.6198, allocations: 24 kB / 0.7592 GB, free: 20 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6199, allocations: 358 kB / 0.7595 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009093/0.6209, allocations: 0.5065 MB / 0.76 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009364/0.6218, allocations: 0.6254 MB / 0.7606 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009549/0.6228, allocations: 0.5711 MB / 0.7612 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6228, allocations: 0 / 0.7612 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003654/0.6264, allocations: 1.931 MB / 0.7631 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.6265, allocations: 4 kB / 0.7631 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.6265, allocations: 4 kB / 0.7631 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009828/0.6363, allocations: 2.804 MB / 0.7658 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008592/0.6372, allocations: 175.8 kB / 0.766 GB, free: 9.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004394/0.6416, allocations: 2.273 MB / 0.7682 GB, free: 6.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.6435, allocations: 178.8 kB / 0.7684 GB, free: 6.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.6436, allocations: 47.97 kB / 0.7684 GB, free: 6.484 MB / 0.4948 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 38} Notification: Performance of prepare postOptimizeDAE: time 0.000258/0.6439, allocations: 156.9 kB / 0.7686 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002989/0.6442, allocations: 173.8 kB / 0.7687 GB, free: 6.152 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.6543, allocations: 3.695 MB / 0.7723 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.6544, allocations: 16 kB / 0.7724 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6544, allocations: 0 / 0.7724 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/0.6544, allocations: 3.984 kB / 0.7724 GB, free: 2.426 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.01295/0.6674, allocations: 5.811 MB / 0.778 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.6674, allocations: 0 / 0.778 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.6685, allocations: 175.7 kB / 0.7782 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004774/0.6733, allocations: 1.43 MB / 0.7796 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002649/0.6736, allocations: 27.98 kB / 0.7796 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/0.6879, allocations: 6.427 MB / 0.7859 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6879, allocations: 0 / 0.7859 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.6997, allocations: 4.577 MB / 0.7904 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007151/0.7004, allocations: 302.8 kB / 0.7907 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.7007, allocations: 32 kB / 0.7907 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/0.7021, allocations: 99.92 kB / 0.7908 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005343/0.7026, allocations: 193.4 kB / 0.791 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.874e-05/0.7027, allocations: 32 kB / 0.791 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001476/0.7042, allocations: 1.058 MB / 0.792 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7042, allocations: 0 / 0.792 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00113/0.7054, allocations: 479.5 kB / 0.7925 GB, free: 13.46 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {16 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.01176/0.7171, allocations: 5.213 MB / 0.7976 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005648/0.7228, allocations: 1.988 MB / 0.7995 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7228, allocations: 0 / 0.7995 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003899/0.7268, allocations: 1.48 MB / 0.801 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.7279, allocations: 141.5 kB / 0.8011 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005938/0.7338, allocations: 3.232 MB / 0.8043 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007267/0.7346, allocations: 1.273 MB / 0.8055 GB, free: 8 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006412/0.7352, allocations: 129.3 kB / 0.8056 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/0.7361, allocations: 0.6164 MB / 0.8062 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of SimCode: time 9.91e-07/0.7361, allocations: 0 / 0.8062 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06223/0.7983, allocations: 38.63 MB / 0.844 GB, free: 8.82 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001536/0.7985, allocations: 222.6 kB / 0.8442 GB, free: 8.59 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.964/3.763, allocations: 0 / 0.8442 GB, free: 8.59 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)