Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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 4.0.0+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 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005427/0.005427, allocations: 103.4 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001349/0.001349, allocations: 196.4 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4426/0.4426, allocations: 78.53 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 83.86 kB / 0.5531 GB, free: 1.496 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2733, allocations: 68.18 MB / 0.6197 GB, free: 9.527 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.005573/0.2789, allocations: 6.932 MB / 0.6265 GB, free: 3.387 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003558/0.2825, allocations: 2.297 MB / 0.6287 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008221/0.2833, allocations: 8 kB / 0.6287 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005917/0.2839, allocations: 261.8 kB / 0.629 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.2869, allocations: 1.243 MB / 0.6302 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.2879, allocations: 496 kB / 0.6307 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.2902, allocations: 2.022 MB / 0.6326 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.2907, allocations: 268.8 kB / 0.6329 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.2917, allocations: 0.7706 MB / 0.6336 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.293, allocations: 1.039 MB / 0.6347 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003473/0.2934, allocations: 160 kB / 0.6348 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007096/0.2941, allocations: 327.9 kB / 0.6351 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000355/0.2945, allocations: 414.4 kB / 0.6355 GB, free: 10.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007925/0.2953, allocations: 0.7693 MB / 0.6363 GB, free: 9.324 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.2971, allocations: 1.89 MB / 0.6381 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2972, allocations: 0 / 0.6381 GB, free: 7.426 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2972, allocations: 4 kB / 0.6381 GB, free: 7.422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.152e-05/0.2972, allocations: 0 / 0.6381 GB, free: 7.422 MB / 446.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.01586/0.3131, allocations: 3.904 MB / 0.6419 GB, free: 3.457 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3131, allocations: 8.031 kB / 0.6419 GB, free: 3.449 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.3133, allocations: 118.7 kB / 0.6421 GB, free: 3.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/0.3166, allocations: 0.518 MB / 0.6426 GB, free: 2.805 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.3184, allocations: 0.9739 MB / 0.6435 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.3187, allocations: 230.9 kB / 0.6437 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002287/0.3189, allocations: 92 kB / 0.6438 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.3213, allocations: 0.9871 MB / 0.6448 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.3214, allocations: 0 / 0.6448 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/0.3215, allocations: 28 kB / 0.6448 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3215, allocations: 16 kB / 0.6448 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002677/0.3242, allocations: 1.101 MB / 0.6459 GB, free: 15.29 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.006703/0.3309, allocations: 3.727 MB / 0.6495 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/0.3342, allocations: 1.669 MB / 0.6512 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/0.3359, allocations: 0.7144 MB / 0.6519 GB, free: 8.887 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.336, allocations: 20.98 kB / 0.6519 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3361, allocations: 43.5 kB / 0.6519 GB, free: 8.816 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.115e-06/0.3361, allocations: 0 / 0.6519 GB, free: 8.816 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.023/0.3591, allocations: 5.6 MB / 0.6574 GB, free: 3.176 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3591, allocations: 60.41 kB / 0.6575 GB, free: 3.105 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.3612, allocations: 1.283 MB / 0.6587 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002626/0.3615, allocations: 49.7 kB / 0.6588 GB, free: 1.758 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004212/0.3619, allocations: 477.7 kB / 0.6592 GB, free: 1.285 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004986/0.3624, allocations: 390.5 kB / 0.6596 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008751/0.3633, allocations: 387.2 kB / 0.6599 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.3634, allocations: 301.1 kB / 0.6602 GB, free: 220 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00221/0.3656, allocations: 0.941 MB / 0.6612 GB, free: 15.27 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.368, allocations: 1.113 MB / 0.6622 GB, free: 14.12 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00437/0.3724, allocations: 1.923 MB / 0.6641 GB, free: 12.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.115e-05/0.3724, allocations: 4 kB / 0.6641 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007559/0.38, allocations: 3.043 MB / 0.6671 GB, free: 9.121 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.38, allocations: 4 kB / 0.6671 GB, free: 9.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.3801, allocations: 4 kB / 0.6671 GB, free: 9.113 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0096/0.3897, allocations: 2.28 MB / 0.6693 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.3916, allocations: 355.5 kB / 0.6697 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005653/0.3973, allocations: 2.276 MB / 0.6719 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.3997, allocations: 218.3 kB / 0.6721 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/0.3999, allocations: 63.98 kB / 0.6722 GB, free: 3.895 MB / 478.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.0005784/0.4005, allocations: 269.5 kB / 0.6724 GB, free: 3.621 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.4009, allocations: 130.3 kB / 0.6725 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.4124, allocations: 3.349 MB / 0.6758 GB, free: 132 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.4125, allocations: 16 kB / 0.6758 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4125, allocations: 0 / 0.6758 GB, free: 116 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4125, allocations: 3.984 kB / 0.6758 GB, free: 112 kB / 478.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.014/0.4265, allocations: 5.027 MB / 0.6807 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.4266, allocations: 0 / 0.6807 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009224/0.4275, allocations: 131.8 kB / 0.6809 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005949/0.4335, allocations: 1.445 MB / 0.6823 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/0.4337, allocations: 23.94 kB / 0.6823 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0205/0.4542, allocations: 7.827 MB / 0.6899 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4542, allocations: 0 / 0.6899 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.4678, allocations: 4.243 MB / 0.6941 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.4683, allocations: 251 kB / 0.6943 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.4686, allocations: 27.92 kB / 0.6944 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/0.4701, allocations: 95.84 kB / 0.6944 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005701/0.4707, allocations: 188.5 kB / 0.6946 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.138e-05/0.4708, allocations: 20 kB / 0.6946 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001244/0.472, allocations: 0.8512 MB / 0.6955 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.472, allocations: 0 / 0.6955 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001387/0.4734, allocations: 475.7 kB / 0.6959 GB, free: 11.2 MB / 0.4981 GB 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.01339/0.4868, allocations: 4.71 MB / 0.7005 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007766/0.4946, allocations: 2.453 MB / 0.7029 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.4946, allocations: 0 / 0.7029 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/0.4992, allocations: 1.356 MB / 0.7043 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.5003, allocations: 108.6 kB / 0.7044 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02932/0.5296, allocations: 14.66 MB / 0.7187 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/0.5303, allocations: 1.116 MB / 0.7198 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005617/0.5309, allocations: 120.7 kB / 0.7199 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000785/0.5317, allocations: 0.4915 MB / 0.7204 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.5317, allocations: 3.938 kB / 0.7204 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06821/0.5999, allocations: 37.73 MB / 0.7572 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.37, allocations: 22.84 kB / 0.7572 GB, free: 12.32 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)