Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.0008078, allocations: 95.34 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4544/0.4544, allocations: 78.94 MB / 410.2 MB, free: 6.035 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.927e-05/1.938e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1438, allocations: 69.51 MB / 0.5425 GB, free: 5.828 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5545, allocations: 104 MB / 0.6441 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.5547, allocations: 76.8 kB / 0.6441 GB, free: 9.992 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09435/0.6491, allocations: 34.98 MB / 0.6783 GB, free: 6.996 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6491, allocations: 1.031 kB / 0.6783 GB, free: 6.996 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.191e-05/0.6492, allocations: 20 kB / 0.6783 GB, free: 6.977 MB / 490.7 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.004158/0.6534, allocations: 1.685 MB / 0.68 GB, free: 5.246 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6534, allocations: 12.03 kB / 0.68 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004109/0.6575, allocations: 0.7319 MB / 0.6807 GB, free: 4.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.6592, allocations: 0.9594 MB / 0.6816 GB, free: 3.488 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.6595, allocations: 198.5 kB / 0.6818 GB, free: 3.266 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6596, allocations: 48 kB / 0.6819 GB, free: 3.219 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001453/0.6611, allocations: 0.8201 MB / 0.6827 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.6624, allocations: 0.7102 MB / 0.6834 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6624, allocations: 0 / 0.6834 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.611e-05/0.6625, allocations: 0.8438 kB / 0.6834 GB, free: 1.68 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.6625, allocations: 16 kB / 0.6834 GB, free: 1.664 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.007374/0.6699, allocations: 3.694 MB / 0.687 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.6719, allocations: 1.405 MB / 0.6884 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007494/0.6726, allocations: 0.5281 MB / 0.6889 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.6727, allocations: 25.28 kB / 0.6889 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/0.6728, allocations: 44.22 kB / 0.6889 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=103): time 3.747e-06/0.6728, allocations: 0.75 kB / 0.6889 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=103): time 0.009671/0.6825, allocations: 3.217 MB / 0.6921 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.6826, allocations: 68.66 kB / 0.6922 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.6843, allocations: 1.085 MB / 0.6932 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/0.6845, allocations: 25.7 kB / 0.6932 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.685, allocations: 0.5139 MB / 0.6937 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003949/0.6854, allocations: 358.6 kB / 0.6941 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/0.6854, allocations: 0 / 0.6941 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6856, allocations: 342.8 kB / 0.6944 GB, free: 6.027 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/0.6863, allocations: 414.6 kB / 0.6948 GB, free: 5.621 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007131/0.687, allocations: 0.4978 MB / 0.6953 GB, free: 5.102 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008652/0.6879, allocations: 478.3 kB / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6879, allocations: 0 / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00284/0.6907, allocations: 1.525 MB / 0.6972 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.6908, allocations: 11.95 kB / 0.6972 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.6908, allocations: 0 / 0.6972 GB, free: 3.086 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006778/0.6976, allocations: 1.851 MB / 0.6991 GB, free: 1.23 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.6982, allocations: 149.3 kB / 0.6992 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/0.702, allocations: 2.084 MB / 0.7012 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7036, allocations: 151.2 kB / 0.7014 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.612e-05/0.7037, allocations: 35.98 kB / 0.7014 GB, free: 14.8 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0002085/0.7039, allocations: 116.6 kB / 0.7015 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009649/0.7136, allocations: 3.229 MB / 0.7047 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.7139, allocations: 138.2 kB / 0.7048 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.7255, allocations: 3.326 MB / 0.7081 GB, free: 7.965 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.099e-05/0.7256, allocations: 15.98 kB / 0.7081 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.7256, allocations: 0 / 0.7081 GB, free: 7.949 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/0.7256, allocations: 7.969 kB / 0.7081 GB, free: 7.941 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01354/0.7392, allocations: 5.026 MB / 0.713 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.7392, allocations: 0 / 0.713 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.7403, allocations: 139.8 kB / 0.7131 GB, free: 2.656 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004866/0.7452, allocations: 1.304 MB / 0.7144 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001748/0.7454, allocations: 8.891 kB / 0.7144 GB, free: 1.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01288/0.7583, allocations: 6.093 MB / 0.7203 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.7583, allocations: 4 kB / 0.7204 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/0.7693, allocations: 4.073 MB / 0.7243 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006391/0.77, allocations: 275 kB / 0.7246 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.7702, allocations: 112 / 0.7246 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001388/0.7716, allocations: 115.8 kB / 0.7247 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.7721, allocations: 177 kB / 0.7249 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.7721, allocations: 31.98 kB / 0.7249 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001153/0.7733, allocations: 0.8429 MB / 0.7257 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7733, allocations: 1.125 kB / 0.7257 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009532/0.7743, allocations: 363.5 kB / 0.7261 GB, free: 5.211 MB / 0.5261 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 () * 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.01084/0.7851, allocations: 4.609 MB / 0.7306 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004892/0.79, allocations: 1.614 MB / 0.7322 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7901, allocations: 4 kB / 0.7322 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.003446/0.7935, allocations: 1.244 MB / 0.7334 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.7946, allocations: 97.66 kB / 0.7335 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0045/0.7991, allocations: 2.313 MB / 0.7357 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.7998, allocations: 1.143 MB / 0.7368 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004718/0.8003, allocations: 97.28 kB / 0.7369 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006861/0.801, allocations: 491.3 kB / 0.7374 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of SimCode: time 2.194e-06/0.801, allocations: 0 / 0.7374 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3564/1.157, allocations: 29.58 MB / 0.7663 GB, free: 145.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/1.158, allocations: 159.7 kB / 0.7664 GB, free: 145 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.748/3.906, allocations: 0 / 0.7664 GB, free: 145 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)