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/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/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/package.mo): time 0.09677/0.09677, allocations: 12.2 MB / 27.17 MB, free: 1.926 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.000966/0.0009658, allocations: 105.8 kB / 30.68 MB, free: 5.004 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.505/1.505, allocations: 205.4 MB / 239.5 MB, free: 11.57 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.001319/0.001319, allocations: 187.5 kB / 290.6 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.5102/0.5102, allocations: 78.53 MB / 420.1 MB, free: 48.65 MB / 334.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.0009545/0.0009546, allocations: 36 kB / 0.4896 GB, free: 2.484 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.352, allocations: 69.22 MB / 0.5572 GB, free: 43.12 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005438/0.3575, allocations: 6.331 MB / 0.5633 GB, free: 41.07 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.3609, allocations: 2.167 MB / 0.5655 GB, free: 39.54 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000422/0.3613, allocations: 10.53 kB / 0.5655 GB, free: 39.54 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004135/0.3617, allocations: 179 kB / 0.5656 GB, free: 39.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002218/0.364, allocations: 1.03 MB / 0.5666 GB, free: 38.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.3648, allocations: 434.3 kB / 0.5671 GB, free: 38.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.3664, allocations: 1.784 MB / 0.5688 GB, free: 37.78 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003256/0.3667, allocations: 214.7 kB / 0.569 GB, free: 37.69 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/0.3674, allocations: 0.6616 MB / 0.5696 GB, free: 37.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008734/0.3682, allocations: 0.9304 MB / 0.5706 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.3684, allocations: 82.78 kB / 0.5706 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004544/0.3689, allocations: 248.8 kB / 0.5709 GB, free: 37 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002107/0.3691, allocations: 323.8 kB / 0.5712 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001687/0.3693, allocations: 237.1 kB / 0.5714 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008832/0.3702, allocations: 1.387 MB / 0.5728 GB, free: 36.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3702, allocations: 0 / 0.5728 GB, free: 36.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3702, allocations: 0 / 0.5728 GB, free: 36.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.3702, allocations: 0 / 0.5728 GB, free: 36.28 MB / 430.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.01251/0.3827, allocations: 3.782 MB / 0.5765 GB, free: 35.04 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.3828, allocations: 13.14 kB / 0.5765 GB, free: 35.04 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.383, allocations: 115.5 kB / 0.5766 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002786/0.3858, allocations: 0.5252 MB / 0.5771 GB, free: 34.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.387, allocations: 0.9311 MB / 0.578 GB, free: 34.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.3873, allocations: 243.6 kB / 0.5782 GB, free: 34.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.3874, allocations: 89.47 kB / 0.5783 GB, free: 34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.3892, allocations: 1.037 MB / 0.5793 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3892, allocations: 0 / 0.5793 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/0.3893, allocations: 26.92 kB / 0.5794 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.3893, allocations: 18.22 kB / 0.5794 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.3915, allocations: 1.163 MB / 0.5805 GB, free: 33.27 MB / 430.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.004838/0.3963, allocations: 3.788 MB / 0.5842 GB, free: 31.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.3989, allocations: 1.755 MB / 0.5859 GB, free: 30.08 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.4003, allocations: 0.7679 MB / 0.5867 GB, free: 29.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.4004, allocations: 30.84 kB / 0.5867 GB, free: 29.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.4004, allocations: 40.81 kB / 0.5867 GB, free: 29.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.364e-06/0.4004, allocations: 0 / 0.5867 GB, free: 29.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.0197/0.4202, allocations: 6.586 MB / 0.5932 GB, free: 28.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.4202, allocations: 66.03 kB / 0.5932 GB, free: 28.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.4223, allocations: 1.272 MB / 0.5945 GB, free: 27.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.4225, allocations: 47.2 kB / 0.5945 GB, free: 27.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.4229, allocations: 472.6 kB / 0.595 GB, free: 27.42 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003878/0.4233, allocations: 392.2 kB / 0.5953 GB, free: 27.12 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.4235, allocations: 40.25 kB / 0.5954 GB, free: 27.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4236, allocations: 385.8 kB / 0.5958 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002147/0.4258, allocations: 0.9967 MB / 0.5967 GB, free: 26.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.428, allocations: 1.163 MB / 0.5979 GB, free: 25.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002273/0.4303, allocations: 1.074 MB / 0.5989 GB, free: 25.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.4303, allocations: 5.25 kB / 0.5989 GB, free: 25.42 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006873/0.4372, allocations: 3.138 MB / 0.602 GB, free: 24.21 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.4373, allocations: 6.094 kB / 0.602 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4373, allocations: 2.078 kB / 0.602 GB, free: 24.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009075/0.4464, allocations: 2.526 MB / 0.6045 GB, free: 23.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.4483, allocations: 365.2 kB / 0.6048 GB, free: 23.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.4535, allocations: 2.458 MB / 0.6072 GB, free: 22.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002227/0.4557, allocations: 258.9 kB / 0.6075 GB, free: 22.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.4561, allocations: 66.11 kB / 0.6075 GB, free: 22.51 MB / 430.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 (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 {24 29} Notification: Performance of prepare postOptimizeDAE: time 0.0006707/0.4567, allocations: 262.8 kB / 0.6078 GB, free: 22.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003616/0.4571, allocations: 134.9 kB / 0.6079 GB, free: 22.22 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.4673, allocations: 3.965 MB / 0.6118 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.4673, allocations: 19.94 kB / 0.6118 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.4673, allocations: 3.984 kB / 0.6118 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.4673, allocations: 3.984 kB / 0.6118 GB, free: 19.93 MB / 430.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.01139/0.4787, allocations: 5.656 MB / 0.6173 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/0.4788, allocations: 4 kB / 0.6173 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007186/0.4795, allocations: 131.9 kB / 0.6174 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004607/0.4841, allocations: 1.676 MB / 0.6191 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4843, allocations: 16 kB / 0.6191 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01544/0.4997, allocations: 7.841 MB / 0.6268 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4997, allocations: 0 / 0.6268 GB, free: 4.332 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01154/0.5113, allocations: 4.927 MB / 0.6316 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.512, allocations: 259 kB / 0.6318 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.5124, allocations: 27.89 kB / 0.6318 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.5138, allocations: 123.9 kB / 0.632 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005811/0.5144, allocations: 184.7 kB / 0.6321 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.5146, allocations: 23.98 kB / 0.6322 GB, free: 14.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001409/0.516, allocations: 0.8356 MB / 0.633 GB, free: 13.92 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.516, allocations: 0 / 0.633 GB, free: 13.92 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001797/0.5178, allocations: 479.7 kB / 0.6334 GB, free: 13.45 MB / 446.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 (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 {14 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01252/0.5303, allocations: 5.356 MB / 0.6387 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007515/0.5379, allocations: 2.652 MB / 0.6413 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5379, allocations: 4 kB / 0.6413 GB, free: 5.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004197/0.5421, allocations: 1.489 MB / 0.6427 GB, free: 3.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5436, allocations: 110.5 kB / 0.6428 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/0.5654, allocations: 11.05 MB / 0.6536 GB, free: 8.418 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/0.5662, allocations: 1.109 MB / 0.6547 GB, free: 7.281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006286/0.5669, allocations: 120.7 kB / 0.6548 GB, free: 7.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008628/0.5678, allocations: 499.3 kB / 0.6553 GB, free: 6.672 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/0.5678, allocations: 4 kB / 0.6553 GB, free: 6.668 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07311/0.6409, allocations: 33.17 MB / 0.6877 GB, free: 5.703 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.6411, allocations: 242 kB / 0.6879 GB, free: 5.465 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.582/3.224, allocations: 4 kB / 0.6879 GB, free: 5.461 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: