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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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 Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001027, allocations: 88.67 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08406/0.08406, allocations: 12.19 MB / 321.5 MB, free: 1.188 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2906/0.2906, allocations: 78.06 MB / 450.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.958e-05/1.957e-05, allocations: 3.984 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1618, allocations: 69.24 MB / 0.5819 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.6777, allocations: 104.8 MB / 0.6842 GB, free: 3.805 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.678, allocations: 75.14 kB / 0.6842 GB, free: 3.77 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09774/0.7757, allocations: 37.78 MB / 0.7211 GB, free: 4.859 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7758, allocations: 0 / 0.7211 GB, free: 4.859 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.7759, allocations: 24 kB / 0.7212 GB, free: 4.836 MB / 458.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.004573/0.7804, allocations: 1.687 MB / 0.7228 GB, free: 3.211 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.7805, allocations: 8.031 kB / 0.7228 GB, free: 3.203 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.7827, allocations: 407.8 kB / 0.7232 GB, free: 2.836 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001368/0.7841, allocations: 0.8583 MB / 0.724 GB, free: 2.129 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.7844, allocations: 206.3 kB / 0.7242 GB, free: 1.902 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7845, allocations: 47.91 kB / 0.7243 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001378/0.7859, allocations: 0.8168 MB / 0.7251 GB, free: 1.355 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.7871, allocations: 0.7076 MB / 0.7258 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.7872, allocations: 0 / 0.7258 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.7872, allocations: 0 / 0.7258 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.7873, allocations: 16 kB / 0.7258 GB, free: 0.8516 MB / 458.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.005553/0.7928, allocations: 3.438 MB / 0.7291 GB, free: 14.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.7947, allocations: 1.413 MB / 0.7305 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006839/0.7954, allocations: 0.533 MB / 0.731 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.7955, allocations: 25.19 kB / 0.7311 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.7956, allocations: 42.88 kB / 0.7311 GB, free: 12.62 MB / 474.7 MB Notification: Performance of pre-optimization done (n=103): time 3.086e-06/0.7956, allocations: 0 / 0.7311 GB, free: 12.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=103): time 0.009322/0.8049, allocations: 3.224 MB / 0.7343 GB, free: 9.863 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.805, allocations: 60.72 kB / 0.7343 GB, free: 9.793 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.8066, allocations: 0.9621 MB / 0.7353 GB, free: 9.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002374/0.8069, allocations: 25.7 kB / 0.7353 GB, free: 9.082 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/0.8072, allocations: 0.5111 MB / 0.7358 GB, free: 8.828 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004332/0.8077, allocations: 363.5 kB / 0.7361 GB, free: 8.512 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.8078, allocations: 4 kB / 0.7361 GB, free: 8.508 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.8079, allocations: 342.4 kB / 0.7365 GB, free: 8.184 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006289/0.8086, allocations: 414.5 kB / 0.7369 GB, free: 7.965 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.8092, allocations: 0.501 MB / 0.7373 GB, free: 7.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.8101, allocations: 474.3 kB / 0.7378 GB, free: 7.379 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.8101, allocations: 7.953 kB / 0.7378 GB, free: 7.371 MB / 474.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002913/0.813, allocations: 1.517 MB / 0.7393 GB, free: 6.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.813, allocations: 7.938 kB / 0.7393 GB, free: 6.059 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.8131, allocations: 4 kB / 0.7393 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006644/0.8197, allocations: 1.851 MB / 0.7411 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.8204, allocations: 147.8 kB / 0.7412 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003909/0.8244, allocations: 2.089 MB / 0.7433 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.8261, allocations: 155.2 kB / 0.7434 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.728e-05/0.8262, allocations: 35.98 kB / 0.7435 GB, free: 1.758 MB / 474.7 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 () * 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.0002239/0.8264, allocations: 116.8 kB / 0.7436 GB, free: 1.637 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009252/0.8357, allocations: 3.229 MB / 0.7467 GB, free: 14.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006103/0.8363, allocations: 142.3 kB / 0.7469 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009657/0.846, allocations: 3.319 MB / 0.7501 GB, free: 10.92 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/0.846, allocations: 8 kB / 0.7501 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8461, allocations: 4 kB / 0.7501 GB, free: 10.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.8461, allocations: 7.984 kB / 0.7501 GB, free: 10.9 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 postOpt removeSimpleEquations (simulation): time 0.01245/0.8586, allocations: 4.951 MB / 0.755 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.8586, allocations: 0 / 0.755 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008766/0.8595, allocations: 139.8 kB / 0.7551 GB, free: 5.691 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004269/0.8638, allocations: 1.312 MB / 0.7564 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001507/0.8639, allocations: 4 kB / 0.7564 GB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.8763, allocations: 6.09 MB / 0.7623 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8764, allocations: 0 / 0.7623 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.887, allocations: 4.061 MB / 0.7663 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006238/0.8877, allocations: 259.1 kB / 0.7665 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.8879, allocations: 3.938 kB / 0.7665 GB, free: 9.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/0.8892, allocations: 112 kB / 0.7667 GB, free: 9.688 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005437/0.8897, allocations: 188.9 kB / 0.7668 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.8898, allocations: 20 kB / 0.7669 GB, free: 9.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009906/0.8908, allocations: 0.757 MB / 0.7676 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8908, allocations: 0 / 0.7676 GB, free: 8.719 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001007/0.8918, allocations: 351.5 kB / 0.7679 GB, free: 8.375 MB / 0.4948 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.01082/0.9027, allocations: 4.62 MB / 0.7724 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004741/0.9074, allocations: 1.598 MB / 0.774 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9075, allocations: 0 / 0.774 GB, free: 2.117 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00356/0.911, allocations: 1.256 MB / 0.7752 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.9122, allocations: 100.6 kB / 0.7753 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.9166, allocations: 2.307 MB / 0.7776 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.9172, allocations: 1.131 MB / 0.7787 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004555/0.9177, allocations: 107.1 kB / 0.7788 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006101/0.9183, allocations: 483.3 kB / 0.7792 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/0.9183, allocations: 0 / 0.7792 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05224/0.9706, allocations: 28.73 MB / 0.8073 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.9708, allocations: 168 kB / 0.8075 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.029/4, allocations: 7.594 kB / 0.8075 GB, free: 15.76 MB / 0.5417 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/linux/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)