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.001189/0.001189, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.3 MB / 213.4 MB, free: 13.69 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.0009314/0.0009313, allocations: 91.8 kB / 261.4 MB, free: 13.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09666/0.09666, allocations: 12.2 MB / 321.5 MB, free: 1.176 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3143/0.3143, allocations: 78.06 MB / 450.3 MB, free: 3.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.334e-05, allocations: 7.984 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1664, allocations: 69.23 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.655, allocations: 104.8 MB / 0.6842 GB, free: 3.793 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.6554, allocations: 73.59 kB / 0.6843 GB, free: 3.758 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1251/0.7804, allocations: 48.91 MB / 0.732 GB, free: 11.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.7805, allocations: 0 / 0.732 GB, free: 11.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.582e-05/0.7806, allocations: 24 kB / 0.7321 GB, free: 11.64 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.004702/0.7853, allocations: 1.927 MB / 0.7339 GB, free: 9.789 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7853, allocations: 12.03 kB / 0.7339 GB, free: 9.777 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002448/0.7878, allocations: 462.1 kB / 0.7344 GB, free: 9.355 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.7896, allocations: 1.069 MB / 0.7354 GB, free: 8.508 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.7899, allocations: 227.6 kB / 0.7357 GB, free: 8.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.79, allocations: 55.91 kB / 0.7357 GB, free: 8.199 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001587/0.7916, allocations: 0.9829 MB / 0.7367 GB, free: 7.59 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.793, allocations: 0.8345 MB / 0.7375 GB, free: 7.016 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.7931, allocations: 7.938 kB / 0.7375 GB, free: 7.008 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.654e-05/0.7932, allocations: 0 / 0.7375 GB, free: 7.008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.7932, allocations: 20 kB / 0.7375 GB, free: 6.988 MB / 474.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.006445/0.7996, allocations: 4.204 MB / 0.7416 GB, free: 3.688 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.8021, allocations: 1.967 MB / 0.7435 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000879/0.803, allocations: 0.6379 MB / 0.7442 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/0.8032, allocations: 29.28 kB / 0.7442 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.8032, allocations: 47.88 kB / 0.7442 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of pre-optimization done (n=130): time 3.556e-06/0.8032, allocations: 0 / 0.7442 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of matching and sorting (n=130): time 0.009901/0.8131, allocations: 3.491 MB / 0.7476 GB, free: 13.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.8132, allocations: 64.72 kB / 0.7477 GB, free: 13.29 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.8151, allocations: 1.232 MB / 0.7489 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.8153, allocations: 26.55 kB / 0.7489 GB, free: 12.02 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.8158, allocations: 0.6331 MB / 0.7495 GB, free: 11.38 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.8163, allocations: 461.1 kB / 0.75 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.8164, allocations: 4 kB / 0.75 GB, free: 10.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.8165, allocations: 345.9 kB / 0.7503 GB, free: 10.58 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/0.8173, allocations: 498.6 kB / 0.7508 GB, free: 10.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008562/0.8182, allocations: 0.5915 MB / 0.7514 GB, free: 9.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.8193, allocations: 0.5725 MB / 0.7519 GB, free: 8.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.8193, allocations: 0 / 0.7519 GB, free: 8.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003463/0.8228, allocations: 1.849 MB / 0.7537 GB, free: 7.047 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.8228, allocations: 11.94 kB / 0.7537 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/0.8228, allocations: 0 / 0.7537 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008078/0.8309, allocations: 2.222 MB / 0.7559 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008552/0.8318, allocations: 183.7 kB / 0.7561 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004815/0.8366, allocations: 2.463 MB / 0.7585 GB, free: 2.137 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.8385, allocations: 146.9 kB / 0.7586 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.8387, allocations: 47.97 kB / 0.7587 GB, free: 1.945 MB / 490.7 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 () * 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.0002566/0.8389, allocations: 112.8 kB / 0.7588 GB, free: 1.828 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01021/0.8491, allocations: 3.483 MB / 0.7622 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/0.8504, allocations: 169.8 kB / 0.7624 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/0.8616, allocations: 3.582 MB / 0.7659 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.8617, allocations: 16 kB / 0.7659 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.8617, allocations: 0 / 0.7659 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.107e-05/0.8617, allocations: 3.984 kB / 0.7659 GB, free: 10.54 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.01407/0.8758, allocations: 5.616 MB / 0.7714 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.8759, allocations: 3.953 kB / 0.7714 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/0.8769, allocations: 167.8 kB / 0.7715 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004625/0.8815, allocations: 1.407 MB / 0.7729 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000136/0.8817, allocations: 15.98 kB / 0.7729 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.8951, allocations: 6.31 MB / 0.7791 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.8951, allocations: 0 / 0.7791 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.9069, allocations: 4.475 MB / 0.7834 GB, free: 8.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009115/0.9079, allocations: 310.8 kB / 0.7837 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/0.9083, allocations: 0 / 0.7837 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.9101, allocations: 79.92 kB / 0.7838 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005298/0.9107, allocations: 193.4 kB / 0.784 GB, free: 7.656 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.9108, allocations: 35.98 kB / 0.784 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00196/0.9128, allocations: 0.9605 MB / 0.785 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9128, allocations: 0 / 0.785 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001675/0.9145, allocations: 427.5 kB / 0.7854 GB, free: 6.246 MB / 0.5105 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.01228/0.9268, allocations: 5.095 MB / 0.7904 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006245/0.933, allocations: 1.914 MB / 0.7922 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9331, allocations: 0 / 0.7922 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004359/0.9374, allocations: 1.425 MB / 0.7936 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.9396, allocations: 117.3 kB / 0.7937 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00824/0.9478, allocations: 3.123 MB / 0.7968 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.9489, allocations: 1.265 MB / 0.798 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008955/0.9498, allocations: 133.1 kB / 0.7981 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.951, allocations: 0.6164 MB / 0.7987 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/0.9511, allocations: 0 / 0.7987 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08989/1.041, allocations: 35.95 MB / 0.8339 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/1.041, allocations: 166.2 kB / 0.834 GB, free: 4.332 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.328/4.369, allocations: 3.516 kB / 0.834 GB, free: 4.332 MB / 0.5573 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)