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-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.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-master/package.mo): time 0.153/0.153, allocations: 12.59 MB / 28.23 MB, free: 1.047 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.00208/0.00208, allocations: 115.4 kB / 31.84 MB, free: 3.988 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.572/2.572, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.002976/0.002976, allocations: 184.5 kB / 290.7 MB, free: 10.95 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.8637/0.8637, allocations: 78.51 MB / 419.3 MB, free: 10.76 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.005846/0.005846, allocations: 143.4 kB / 0.5554 GB, free: 17.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3042, allocations: 68.13 MB / 0.6219 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.02274/0.327, allocations: 6.992 MB / 0.6287 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3446, allocations: 2.263 MB / 0.6309 GB, free: 4.387 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.3512, allocations: 12 kB / 0.6309 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.3572, allocations: 257.8 kB / 0.6312 GB, free: 4.121 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007368/0.3646, allocations: 1.239 MB / 0.6324 GB, free: 2.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01152/0.3761, allocations: 0.499 MB / 0.6329 GB, free: 2.391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.3867, allocations: 2.018 MB / 0.6348 GB, free: 380 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.3883, allocations: 256.8 kB / 0.6351 GB, free: 108 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007159/0.3955, allocations: 0.7746 MB / 0.6359 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.3987, allocations: 1.047 MB / 0.6369 GB, free: 14.27 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.3999, allocations: 156 kB / 0.637 GB, free: 14.12 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006544/0.4065, allocations: 323.8 kB / 0.6373 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.4079, allocations: 410.4 kB / 0.6377 GB, free: 13.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006756/0.4147, allocations: 0.777 MB / 0.6385 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.4254, allocations: 1.897 MB / 0.6403 GB, free: 10.72 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.881e-05/0.4255, allocations: 0 / 0.6403 GB, free: 10.72 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.4255, allocations: 0 / 0.6403 GB, free: 10.72 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001201/0.4257, allocations: 0 / 0.6403 GB, free: 10.72 MB / 462.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.04262/0.4683, allocations: 3.894 MB / 0.6441 GB, free: 6.77 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.647e-05/0.4684, allocations: 15.98 kB / 0.6442 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000557/0.469, allocations: 118.7 kB / 0.6443 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006109/0.4751, allocations: 0.5257 MB / 0.6448 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.4794, allocations: 0.9662 MB / 0.6457 GB, free: 5.082 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000668/0.4801, allocations: 242.8 kB / 0.646 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.4811, allocations: 84 kB / 0.646 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004826/0.486, allocations: 0.9793 MB / 0.647 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.591e-05/0.4861, allocations: 0 / 0.647 GB, free: 3.746 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002393/0.4864, allocations: 32 kB / 0.647 GB, free: 3.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.4864, allocations: 23.98 kB / 0.647 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004648/0.4911, allocations: 1.085 MB / 0.6481 GB, free: 2.605 MB / 462.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.01465/0.5058, allocations: 3.738 MB / 0.6518 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005741/0.5116, allocations: 1.666 MB / 0.6534 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002727/0.5144, allocations: 0.708 MB / 0.6541 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.5147, allocations: 16.98 kB / 0.6541 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.9e-05/0.5148, allocations: 55.48 kB / 0.6541 GB, free: 12.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 6.522e-06/0.5148, allocations: 0 / 0.6541 GB, free: 12.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.03828/0.5531, allocations: 5.596 MB / 0.6596 GB, free: 6.488 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.825e-05/0.5533, allocations: 64.41 kB / 0.6597 GB, free: 6.414 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003769/0.5571, allocations: 1.287 MB / 0.6609 GB, free: 5.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006364/0.5577, allocations: 49.7 kB / 0.661 GB, free: 5.062 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/0.5584, allocations: 469.7 kB / 0.6614 GB, free: 4.598 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009233/0.5593, allocations: 398.5 kB / 0.6618 GB, free: 4.203 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.5605, allocations: 379.4 kB / 0.6622 GB, free: 3.824 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5607, allocations: 305.1 kB / 0.6625 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/0.5644, allocations: 0.941 MB / 0.6634 GB, free: 2.578 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004291/0.5688, allocations: 1.117 MB / 0.6645 GB, free: 1.43 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007407/0.5762, allocations: 1.927 MB / 0.6663 GB, free: 15.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.5763, allocations: 0 / 0.6663 GB, free: 15.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.01235/0.5887, allocations: 3.036 MB / 0.6693 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.5888, allocations: 8 kB / 0.6693 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/0.5888, allocations: 8.125 kB / 0.6693 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01503/0.6039, allocations: 2.276 MB / 0.6715 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007469/0.6114, allocations: 355.5 kB / 0.6719 GB, free: 9.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01812/0.6297, allocations: 2.276 MB / 0.6741 GB, free: 7.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0086/0.6383, allocations: 222.3 kB / 0.6743 GB, free: 7.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007832/0.6392, allocations: 67.97 kB / 0.6744 GB, free: 7.195 MB / 494.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 (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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.001242/0.6405, allocations: 265.5 kB / 0.6746 GB, free: 6.926 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000827/0.6413, allocations: 134.3 kB / 0.6748 GB, free: 6.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03114/0.6725, allocations: 3.342 MB / 0.678 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.234e-05/0.6726, allocations: 12 kB / 0.678 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.6726, allocations: 0 / 0.678 GB, free: 3.426 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.553e-05/0.6727, allocations: 7.969 kB / 0.678 GB, free: 3.418 MB / 494.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.8256/1.498, allocations: 5.032 MB / 0.683 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.602e-05/1.498, allocations: 1.156 kB / 0.683 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.5, allocations: 132.4 kB / 0.6831 GB, free: 53.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009399/1.509, allocations: 1.442 MB / 0.6845 GB, free: 53.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.51, allocations: 23.55 kB / 0.6845 GB, free: 53.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03385/1.544, allocations: 7.827 MB / 0.6922 GB, free: 50.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.544, allocations: 0.5625 kB / 0.6922 GB, free: 50.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02254/1.566, allocations: 4.234 MB / 0.6963 GB, free: 48.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001062/1.567, allocations: 245.1 kB / 0.6965 GB, free: 48.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000444/1.568, allocations: 20.41 kB / 0.6966 GB, free: 48.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.57, allocations: 102.9 kB / 0.6967 GB, free: 48.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009916/1.571, allocations: 183.9 kB / 0.6968 GB, free: 48.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/1.571, allocations: 26.66 kB / 0.6969 GB, free: 48.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002007/1.573, allocations: 0.8488 MB / 0.6977 GB, free: 48.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.615e-06/1.573, allocations: 0 / 0.6977 GB, free: 48.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00303/1.576, allocations: 480.2 kB / 0.6981 GB, free: 48.29 MB / 494.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 (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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02091/1.597, allocations: 4.709 MB / 0.7027 GB, free: 46.47 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01277/1.61, allocations: 2.454 MB / 0.7051 GB, free: 45.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.61, allocations: 0 / 0.7051 GB, free: 45.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008422/1.618, allocations: 1.359 MB / 0.7065 GB, free: 45.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/1.62, allocations: 107.9 kB / 0.7066 GB, free: 45.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04402/1.664, allocations: 14.66 MB / 0.7209 GB, free: 34.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005044/1.67, allocations: 1.109 MB / 0.722 GB, free: 33.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001276/1.671, allocations: 124.7 kB / 0.7221 GB, free: 33.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.672, allocations: 0.4915 MB / 0.7226 GB, free: 32.67 MB / 494.1 MB Notification: Performance of SimCode: time 3.537e-06/1.672, allocations: 0 / 0.7226 GB, free: 32.67 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/1.989, allocations: 37.74 MB / 0.7594 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.03/32.02, allocations: 8 kB / 0.7594 GB, free: 11.07 MB / 0.4981 GB (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/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)