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.09144/0.09144, allocations: 12.2 MB / 27.16 MB, free: 124 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008792, allocations: 108 kB / 30.66 MB, free: 6.43 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.538/1.538, allocations: 205.4 MB / 239.5 MB, free: 10.7 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.001242/0.001242, allocations: 181 kB / 290.6 MB, free: 8.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.436/0.436, allocations: 78.5 MB / 420.1 MB, free: 6.609 MB / 302.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.0008562/0.0008565, allocations: 31.31 kB / 0.4895 GB, free: 37.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.146, allocations: 69.25 MB / 0.5571 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.006146/0.1522, allocations: 6.054 MB / 0.563 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.1564, allocations: 2.202 MB / 0.5652 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006412/0.1571, allocations: 8 kB / 0.5652 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005034/0.1576, allocations: 178.6 kB / 0.5654 GB, free: 328 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.1604, allocations: 1.096 MB / 0.5664 GB, free: 15.24 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.1614, allocations: 417.1 kB / 0.5668 GB, free: 14.83 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001995/0.1634, allocations: 1.245 MB / 0.568 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003703/0.1637, allocations: 222.8 kB / 0.5682 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008019/0.1645, allocations: 0.6578 MB / 0.5689 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009859/0.1655, allocations: 0.9146 MB / 0.5698 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.1657, allocations: 84 kB / 0.5699 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005565/0.1663, allocations: 227.8 kB / 0.5701 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002837/0.1666, allocations: 318.8 kB / 0.5704 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.1668, allocations: 240.9 kB / 0.5706 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1682, allocations: 1.372 MB / 0.572 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1682, allocations: 0 / 0.572 GB, free: 9.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1682, allocations: 0 / 0.572 GB, free: 9.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1682, allocations: 0 / 0.572 GB, free: 9.543 MB / 398.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.01447/0.1827, allocations: 3.766 MB / 0.5756 GB, free: 5.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.1828, allocations: 15.98 kB / 0.5756 GB, free: 5.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003033/0.1831, allocations: 114.5 kB / 0.5758 GB, free: 5.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/0.1863, allocations: 0.525 MB / 0.5763 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.1879, allocations: 0.9398 MB / 0.5772 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002976/0.1883, allocations: 246.9 kB / 0.5774 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/0.1884, allocations: 88 kB / 0.5775 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.1906, allocations: 1.03 MB / 0.5785 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.1906, allocations: 7.938 kB / 0.5785 GB, free: 2.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-05/0.1907, allocations: 28 kB / 0.5785 GB, free: 2.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.646e-05/0.1907, allocations: 16 kB / 0.5786 GB, free: 2.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.1933, allocations: 1.167 MB / 0.5797 GB, free: 1.449 MB / 398.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.006504/0.1998, allocations: 3.909 MB / 0.5835 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003132/0.203, allocations: 1.745 MB / 0.5852 GB, free: 11.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2031, allocations: 16.98 kB / 0.5852 GB, free: 11.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2031, allocations: 43.56 kB / 0.5853 GB, free: 11.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=103): time 3.095e-06/0.2031, allocations: 0 / 0.5853 GB, free: 11.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=103): time 0.0226/0.2257, allocations: 6.593 MB / 0.5917 GB, free: 4.789 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.2258, allocations: 60.41 kB / 0.5918 GB, free: 4.715 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.2278, allocations: 1.267 MB / 0.593 GB, free: 3.438 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003549/0.2282, allocations: 53.7 kB / 0.5931 GB, free: 3.379 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.2287, allocations: 481.7 kB / 0.5935 GB, free: 2.902 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005411/0.2292, allocations: 390.5 kB / 0.5939 GB, free: 2.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2293, allocations: 40 kB / 0.5939 GB, free: 2.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.2296, allocations: 381.8 kB / 0.5943 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002163/0.2318, allocations: 0.9995 MB / 0.5953 GB, free: 1.094 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.234, allocations: 1.156 MB / 0.5964 GB, free: 15.91 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002239/0.2362, allocations: 1.084 MB / 0.5975 GB, free: 14.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.2363, allocations: 0 / 0.5975 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006551/0.2428, allocations: 3.141 MB / 0.6005 GB, free: 11.67 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.2429, allocations: 8 kB / 0.6005 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.2429, allocations: 0 / 0.6005 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009172/0.2521, allocations: 2.522 MB / 0.603 GB, free: 9.133 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00188/0.254, allocations: 363.5 kB / 0.6033 GB, free: 8.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.2595, allocations: 2.464 MB / 0.6058 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.2619, allocations: 250.3 kB / 0.606 GB, free: 6.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.2621, allocations: 63.98 kB / 0.6061 GB, free: 5.98 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.0006209/0.2627, allocations: 261.5 kB / 0.6063 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000312/0.263, allocations: 138.3 kB / 0.6064 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/0.2745, allocations: 3.978 MB / 0.6103 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.2745, allocations: 8 kB / 0.6103 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.2746, allocations: 0 / 0.6103 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.489e-05/0.2746, allocations: 7.969 kB / 0.6103 GB, free: 1.57 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.01451/0.2891, allocations: 5.657 MB / 0.6159 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.555e-05/0.2892, allocations: 0 / 0.6159 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009622/0.2902, allocations: 143.8 kB / 0.616 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005709/0.2959, allocations: 1.668 MB / 0.6176 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.2961, allocations: 19.94 kB / 0.6176 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/0.3159, allocations: 8.216 MB / 0.6257 GB, free: 1.586 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.3159, allocations: 4 kB / 0.6257 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01341/0.3293, allocations: 4.914 MB / 0.6305 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/0.33, allocations: 255 kB / 0.6307 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.3302, allocations: 16.11 kB / 0.6307 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/0.3315, allocations: 131.8 kB / 0.6309 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005482/0.332, allocations: 184.6 kB / 0.631 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-05/0.3321, allocations: 28 kB / 0.6311 GB, free: 12.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001253/0.3334, allocations: 0.8434 MB / 0.6319 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3334, allocations: 0 / 0.6319 GB, free: 11.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001536/0.3349, allocations: 479.6 kB / 0.6323 GB, free: 10.71 MB / 462.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.01346/0.3484, allocations: 5.359 MB / 0.6376 GB, free: 5.316 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00796/0.3564, allocations: 2.646 MB / 0.6402 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.3565, allocations: 0 / 0.6402 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004548/0.361, allocations: 1.489 MB / 0.6416 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3621, allocations: 88.69 kB / 0.6417 GB, free: 1.086 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.3688, allocations: 4.668 MB / 0.6463 GB, free: 12.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007291/0.3696, allocations: 1.14 MB / 0.6474 GB, free: 11.15 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005142/0.3701, allocations: 120.7 kB / 0.6475 GB, free: 11.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006945/0.3708, allocations: 499.3 kB / 0.648 GB, free: 10.54 MB / 478.1 MB Notification: Performance of SimCode: time 9.22e-07/0.3708, allocations: 0 / 0.648 GB, free: 10.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3216/0.6925, allocations: 31.71 MB / 0.6789 GB, free: 88.89 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.6927, allocations: 226.1 kB / 0.6791 GB, free: 88.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/3.61, allocations: 0 / 0.6791 GB, free: 88.65 MB / 478.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: