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.0009387/0.0009389, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.372/1.372, allocations: 223.3 MB / 239 MB, free: 5.469 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.001541/0.001541, allocations: 188.4 kB / 290.3 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4838/0.4838, allocations: 78.55 MB / 419.9 MB, free: 4.297 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003699, allocations: 20 kB / 499.9 MB, free: 6.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1598, allocations: 69.36 MB / 0.5559 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2779/0.4378, allocations: 6.271 MB / 0.562 GB, free: 38.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005012/0.4429, allocations: 2.209 MB / 0.5642 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008035/0.4437, allocations: 10.72 kB / 0.5642 GB, free: 37.79 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005188/0.4442, allocations: 174 kB / 0.5644 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.4471, allocations: 1.023 MB / 0.5654 GB, free: 37.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009362/0.4481, allocations: 428.7 kB / 0.5658 GB, free: 37.33 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.45, allocations: 1.782 MB / 0.5675 GB, free: 36.97 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003529/0.4504, allocations: 210.7 kB / 0.5677 GB, free: 36.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007801/0.4512, allocations: 0.6646 MB / 0.5684 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008992/0.4521, allocations: 0.937 MB / 0.5693 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001588/0.4523, allocations: 81.78 kB / 0.5694 GB, free: 36.54 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005527/0.4528, allocations: 242.1 kB / 0.5696 GB, free: 36.53 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.4531, allocations: 319.5 kB / 0.5699 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002333/0.4533, allocations: 239.6 kB / 0.5701 GB, free: 36.37 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.4544, allocations: 1.393 MB / 0.5715 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.4544, allocations: 2.375 kB / 0.5715 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4544, allocations: 0.5312 kB / 0.5715 GB, free: 35.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.4544, allocations: 0 / 0.5715 GB, free: 35.99 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.01253/0.4669, allocations: 3.779 MB / 0.5752 GB, free: 34.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.467, allocations: 12.97 kB / 0.5752 GB, free: 34.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003723/0.4674, allocations: 117.7 kB / 0.5753 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003217/0.4706, allocations: 0.5233 MB / 0.5758 GB, free: 34.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.4722, allocations: 0.9328 MB / 0.5767 GB, free: 33.97 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.4725, allocations: 238.1 kB / 0.5769 GB, free: 33.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.4726, allocations: 89.88 kB / 0.577 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.4745, allocations: 1.037 MB / 0.578 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.4745, allocations: 4.141 kB / 0.578 GB, free: 33.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.456e-05/0.4746, allocations: 29.59 kB / 0.5781 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.4746, allocations: 18.3 kB / 0.5781 GB, free: 33.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.4768, allocations: 1.169 MB / 0.5792 GB, free: 33.01 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.005429/0.4822, allocations: 3.783 MB / 0.5829 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.4849, allocations: 1.751 MB / 0.5846 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.4864, allocations: 0.7725 MB / 0.5854 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001148/0.4866, allocations: 16.69 kB / 0.5854 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.4866, allocations: 43.66 kB / 0.5855 GB, free: 29.51 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 2.966e-06/0.4866, allocations: 0 / 0.5855 GB, free: 29.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02143/0.508, allocations: 6.591 MB / 0.5919 GB, free: 28.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.5081, allocations: 61.72 kB / 0.5919 GB, free: 28.15 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002817/0.511, allocations: 1.267 MB / 0.5932 GB, free: 27.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003579/0.5113, allocations: 50.86 kB / 0.5932 GB, free: 27.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004854/0.5118, allocations: 478.6 kB / 0.5937 GB, free: 27.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006042/0.5124, allocations: 395.1 kB / 0.5941 GB, free: 26.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.5127, allocations: 39.22 kB / 0.5941 GB, free: 26.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.5129, allocations: 384.3 kB / 0.5945 GB, free: 26.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.5153, allocations: 1.001 MB / 0.5954 GB, free: 26.14 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.5178, allocations: 1.16 MB / 0.5966 GB, free: 25.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.5201, allocations: 1.074 MB / 0.5976 GB, free: 25.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.007e-06/0.5202, allocations: 4 kB / 0.5976 GB, free: 25.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00709/0.5273, allocations: 3.144 MB / 0.6007 GB, free: 23.97 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.5273, allocations: 6.141 kB / 0.6007 GB, free: 23.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.5273, allocations: 1.062 kB / 0.6007 GB, free: 23.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009036/0.5364, allocations: 2.525 MB / 0.6032 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.5385, allocations: 364.7 kB / 0.6035 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/0.5441, allocations: 2.461 MB / 0.6059 GB, free: 22.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/0.5466, allocations: 250.1 kB / 0.6062 GB, free: 22.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003545/0.547, allocations: 71.19 kB / 0.6062 GB, free: 22.28 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.000791/0.5478, allocations: 264.2 kB / 0.6065 GB, free: 22.06 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004513/0.5483, allocations: 132.1 kB / 0.6066 GB, free: 21.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.5596, allocations: 3.965 MB / 0.6105 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/0.5597, allocations: 14.95 kB / 0.6105 GB, free: 21.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-05/0.5597, allocations: 5.609 kB / 0.6105 GB, free: 21.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.5598, allocations: 5.25 kB / 0.6105 GB, free: 21.05 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.01331/0.5731, allocations: 5.654 MB / 0.616 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.5732, allocations: 0 / 0.616 GB, free: 16.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/0.574, allocations: 139.7 kB / 0.6162 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004673/0.5787, allocations: 1.678 MB / 0.6178 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.5788, allocations: 21.61 kB / 0.6178 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01558/0.5944, allocations: 7.836 MB / 0.6255 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5945, allocations: 0 / 0.6255 GB, free: 6.535 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.6059, allocations: 4.924 MB / 0.6303 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006742/0.6066, allocations: 255.1 kB / 0.6305 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004596/0.6071, allocations: 16 kB / 0.6305 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.6085, allocations: 129 kB / 0.6307 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/0.6091, allocations: 184.6 kB / 0.6308 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6092, allocations: 24 kB / 0.6309 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001324/0.6105, allocations: 0.8395 MB / 0.6317 GB, free: 140 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6106, allocations: 0 / 0.6317 GB, free: 140 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.002116/0.6127, allocations: 479.8 kB / 0.6321 GB, free: 15.66 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.01251/0.6252, allocations: 5.36 MB / 0.6374 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00815/0.6334, allocations: 2.644 MB / 0.64 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6335, allocations: 6.156 kB / 0.64 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004241/0.6377, allocations: 1.494 MB / 0.6414 GB, free: 6.117 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.6397, allocations: 105.9 kB / 0.6415 GB, free: 6.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/0.6621, allocations: 11.05 MB / 0.6523 GB, free: 10.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.6629, allocations: 1.113 MB / 0.6534 GB, free: 9.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006872/0.6636, allocations: 121.3 kB / 0.6535 GB, free: 9.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/0.6646, allocations: 495.3 kB / 0.654 GB, free: 8.996 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6646, allocations: 4 kB / 0.654 GB, free: 8.992 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06332/0.7279, allocations: 33.17 MB / 0.6864 GB, free: 8.195 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.7281, allocations: 229.6 kB / 0.6866 GB, free: 7.957 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.765/3.493, allocations: 0 / 0.6866 GB, free: 7.957 MB / 494.1 MB (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/linux/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) Environment - environmentSimulation: