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/Modelica_Synchronous 0.93.0-master/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-master/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/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1225/0.1225, allocations: 12.6 MB / 28.1 MB, free: 296 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.001207/0.001207, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.541/1.541, allocations: 205.1 MB / 240.3 MB, free: 12.45 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.00137/0.00137, allocations: 191.4 kB / 290.5 MB, free: 11.03 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4539/0.4539, allocations: 78.5 MB / 419.2 MB, free: 10.83 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.003004/0.003004, allocations: 141.1 kB / 499.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3666, allocations: 68.11 MB / 0.5547 GB, free: 21.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007831/0.3745, allocations: 8.272 MB / 0.5628 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005722/0.3802, allocations: 2.581 MB / 0.5653 GB, free: 10.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008308/0.3811, allocations: 12 kB / 0.5653 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.3818, allocations: 313.3 kB / 0.5656 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003124/0.385, allocations: 1.491 MB / 0.567 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.3862, allocations: 0.6082 MB / 0.5676 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002129/0.3883, allocations: 2.554 MB / 0.5701 GB, free: 5.422 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.3887, allocations: 308.8 kB / 0.5704 GB, free: 5.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.3896, allocations: 1.004 MB / 0.5714 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001082/0.3907, allocations: 1.358 MB / 0.5727 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.391, allocations: 200 kB / 0.5729 GB, free: 2.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006827/0.3916, allocations: 383.8 kB / 0.5733 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003388/0.392, allocations: 0.5215 MB / 0.5738 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006105/0.3926, allocations: 0.9791 MB / 0.5748 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.3946, allocations: 2.344 MB / 0.577 GB, free: 14.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3946, allocations: 4 kB / 0.5771 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3946, allocations: 3.938 kB / 0.5771 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.313e-05/0.3947, allocations: 0 / 0.5771 GB, free: 14.29 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01948/0.4142, allocations: 4.949 MB / 0.5819 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/0.4142, allocations: 15.98 kB / 0.5819 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001996/0.4144, allocations: 139.4 kB / 0.582 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003304/0.4177, allocations: 0.572 MB / 0.5826 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.4197, allocations: 1.22 MB / 0.5838 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.42, allocations: 268.8 kB / 0.584 GB, free: 6.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.4202, allocations: 115.9 kB / 0.5842 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.4224, allocations: 1.089 MB / 0.5852 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.4224, allocations: 0 / 0.5852 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.4225, allocations: 36 kB / 0.5853 GB, free: 5.734 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.4226, allocations: 23.94 kB / 0.5853 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002332/0.4249, allocations: 1.179 MB / 0.5864 GB, free: 4.531 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.007658/0.4326, allocations: 4.618 MB / 0.5909 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003289/0.4359, allocations: 2.147 MB / 0.593 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/0.4373, allocations: 0.7895 MB / 0.5938 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.4374, allocations: 25.3 kB / 0.5938 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.4375, allocations: 43.88 kB / 0.5939 GB, free: 12.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 3.367e-06/0.4375, allocations: 0 / 0.5939 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=130): time 0.02645/0.464, allocations: 6.695 MB / 0.6004 GB, free: 5.758 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.464, allocations: 64.72 kB / 0.6005 GB, free: 5.684 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/0.4669, allocations: 1.651 MB / 0.6021 GB, free: 4.023 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003771/0.4673, allocations: 61.7 kB / 0.6021 GB, free: 3.957 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.4677, allocations: 0.5496 MB / 0.6027 GB, free: 3.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/0.4684, allocations: 0.5048 MB / 0.6032 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008458/0.4692, allocations: 0.5055 MB / 0.6037 GB, free: 2.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4693, allocations: 305.1 kB / 0.604 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.4715, allocations: 1.149 MB / 0.6051 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002335/0.4739, allocations: 1.353 MB / 0.6064 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004199/0.4781, allocations: 2.346 MB / 0.6087 GB, free: 13.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.4781, allocations: 0 / 0.6087 GB, free: 13.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009113/0.4872, allocations: 4.078 MB / 0.6127 GB, free: 9.043 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.935e-05/0.4873, allocations: 7.938 kB / 0.6127 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.4873, allocations: 8.188 kB / 0.6127 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01067/0.498, allocations: 2.838 MB / 0.6155 GB, free: 6.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002567/0.5006, allocations: 475.4 kB / 0.6159 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00586/0.5065, allocations: 2.531 MB / 0.6184 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/0.5095, allocations: 241.9 kB / 0.6186 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/0.5097, allocations: 91.95 kB / 0.6187 GB, free: 2.824 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 (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0007139/0.5104, allocations: 322.2 kB / 0.619 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003547/0.5108, allocations: 165.8 kB / 0.6192 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.5215, allocations: 3.546 MB / 0.6226 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5216, allocations: 12 kB / 0.6226 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.5216, allocations: 0 / 0.6226 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.5216, allocations: 7.969 kB / 0.6226 GB, free: 14.75 MB / 446.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.01416/0.5358, allocations: 5.666 MB / 0.6282 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.374e-05/0.5358, allocations: 0 / 0.6282 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5368, allocations: 163.8 kB / 0.6283 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005437/0.5423, allocations: 1.488 MB / 0.6298 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5425, allocations: 27.98 kB / 0.6298 GB, free: 7.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01839/0.5609, allocations: 7.861 MB / 0.6375 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5609, allocations: 0 / 0.6375 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01292/0.5738, allocations: 4.56 MB / 0.6419 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000829/0.5747, allocations: 306.7 kB / 0.6422 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.5749, allocations: 24 kB / 0.6423 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00146/0.5764, allocations: 79.92 kB / 0.6423 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006316/0.5771, allocations: 197.4 kB / 0.6425 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.793e-05/0.5772, allocations: 32 kB / 0.6426 GB, free: 10.01 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001603/0.5788, allocations: 1.09 MB / 0.6436 GB, free: 8.922 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5788, allocations: 0 / 0.6436 GB, free: 8.922 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001652/0.5804, allocations: 0.5932 MB / 0.6442 GB, free: 8.328 MB / 462.1 MB 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 () * Number of clocked 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 (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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01306/0.5935, allocations: 5.164 MB / 0.6492 GB, free: 3.125 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009379/0.6029, allocations: 3.045 MB / 0.6522 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6029, allocations: 0 / 0.6522 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00463/0.6076, allocations: 1.524 MB / 0.6537 GB, free: 14.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.6092, allocations: 131.3 kB / 0.6538 GB, free: 14.41 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0426/0.6518, allocations: 20.31 MB / 0.6737 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/0.653, allocations: 1.234 MB / 0.6749 GB, free: 7.875 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001008/0.654, allocations: 167.2 kB / 0.675 GB, free: 7.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.6553, allocations: 0.632 MB / 0.6757 GB, free: 7.074 MB / 494.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6553, allocations: 3.938 kB / 0.6757 GB, free: 7.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3666/1.022, allocations: 44.58 MB / 0.7192 GB, free: 94.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.23, allocations: 7.453 kB / 0.7192 GB, free: 94.85 MB / 494.1 MB (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/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)