Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.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 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.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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.004505/0.004506, allocations: 102.1 kB / 15.73 MB, free: 6.004 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.234/1.234, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001185/0.001185, allocations: 180.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4796/0.4796, allocations: 91.91 MB / 431.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 75.69 kB / 0.5722 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 71.27 MB / 0.6418 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007159/0.1157, allocations: 8.242 MB / 0.6499 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004061/0.1198, allocations: 2.604 MB / 0.6524 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.1203, allocations: 12 kB / 0.6524 GB, free: 9.23 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005416/0.1209, allocations: 313.3 kB / 0.6527 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002247/0.1231, allocations: 1.181 MB / 0.6539 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.1243, allocations: 0.6948 MB / 0.6546 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.1264, allocations: 2.375 MB / 0.6569 GB, free: 4.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.1268, allocations: 315.7 kB / 0.6572 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.1277, allocations: 0.9612 MB / 0.6581 GB, free: 3.371 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.1289, allocations: 1.307 MB / 0.6594 GB, free: 2.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002507/0.1292, allocations: 207.9 kB / 0.6596 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005819/0.1298, allocations: 383.8 kB / 0.66 GB, free: 1.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003409/0.1301, allocations: 0.4982 MB / 0.6604 GB, free: 0.9805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006833/0.1308, allocations: 0.9751 MB / 0.6614 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.1327, allocations: 2.329 MB / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1327, allocations: 0 / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1327, allocations: 0 / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.773e-05/0.1327, allocations: 0 / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.01412/0.1469, allocations: 4.09 MB / 0.6677 GB, free: 9.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1469, allocations: 12.03 kB / 0.6677 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.1471, allocations: 139.4 kB / 0.6678 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.1503, allocations: 0.5758 MB / 0.6684 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001905/0.1523, allocations: 1.212 MB / 0.6696 GB, free: 7.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.1525, allocations: 276.8 kB / 0.6698 GB, free: 7.211 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.1527, allocations: 116 kB / 0.6699 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.1547, allocations: 1.089 MB / 0.671 GB, free: 6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1547, allocations: 3.984 kB / 0.671 GB, free: 5.996 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/0.1548, allocations: 32 kB / 0.671 GB, free: 5.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.677e-05/0.1548, allocations: 23.94 kB / 0.6711 GB, free: 5.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.157, allocations: 1.179 MB / 0.6722 GB, free: 4.766 MB / 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 preOpt removeSimpleEquations (simulation): time 0.006574/0.1636, allocations: 4.618 MB / 0.6767 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.1665, allocations: 2.133 MB / 0.6788 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.1678, allocations: 0.7895 MB / 0.6796 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.1679, allocations: 33.27 kB / 0.6796 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1679, allocations: 43.88 kB / 0.6796 GB, free: 12.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 2.996e-06/0.168, allocations: 0 / 0.6796 GB, free: 12.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02434/0.1923, allocations: 6.691 MB / 0.6862 GB, free: 5.992 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.1924, allocations: 72.72 kB / 0.6862 GB, free: 5.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.1947, allocations: 1.651 MB / 0.6879 GB, free: 4.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003286/0.1951, allocations: 61.7 kB / 0.6879 GB, free: 4.184 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.1955, allocations: 0.5496 MB / 0.6885 GB, free: 3.625 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.1959, allocations: 497.1 kB / 0.6889 GB, free: 3.133 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007809/0.1967, allocations: 0.5094 MB / 0.6894 GB, free: 2.617 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.1968, allocations: 305.1 kB / 0.6897 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002036/0.1988, allocations: 1.153 MB / 0.6908 GB, free: 1.16 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002211/0.2011, allocations: 1.36 MB / 0.6922 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.2051, allocations: 2.346 MB / 0.6945 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.2051, allocations: 0 / 0.6945 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008262/0.2133, allocations: 4.082 MB / 0.6984 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2134, allocations: 8 kB / 0.6985 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.2134, allocations: 0 / 0.6985 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009862/0.2233, allocations: 2.827 MB / 0.7012 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/0.2254, allocations: 475.3 kB / 0.7017 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/0.2305, allocations: 2.527 MB / 0.7041 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002331/0.2328, allocations: 249.8 kB / 0.7044 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/0.233, allocations: 87.97 kB / 0.7045 GB, free: 3.07 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 280 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0005468/0.2336, allocations: 309.4 kB / 0.7048 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002911/0.2339, allocations: 169.8 kB / 0.7049 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009707/0.2436, allocations: 3.542 MB / 0.7084 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.2437, allocations: 19.98 kB / 0.7084 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.2437, allocations: 4 kB / 0.7084 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.012e-05/0.2437, allocations: 3.984 kB / 0.7084 GB, free: 15 MB / 0.5137 GB 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.01235/0.2561, allocations: 5.65 MB / 0.7139 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.2561, allocations: 0 / 0.7139 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.2571, allocations: 167.7 kB / 0.7141 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004923/0.2621, allocations: 1.484 MB / 0.7155 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001872/0.2623, allocations: 31.97 kB / 0.7156 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/0.2797, allocations: 7.844 MB / 0.7232 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2798, allocations: 0 / 0.7232 GB, free: 15.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0123/0.2921, allocations: 4.566 MB / 0.7277 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006678/0.2928, allocations: 302.8 kB / 0.728 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003582/0.2931, allocations: 28 kB / 0.728 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/0.2947, allocations: 75.92 kB / 0.7281 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005597/0.2953, allocations: 189.5 kB / 0.7282 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.2954, allocations: 35.98 kB / 0.7283 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001595/0.297, allocations: 1.098 MB / 0.7294 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.403e-06/0.297, allocations: 0 / 0.7294 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00157/0.2986, allocations: 0.601 MB / 0.7299 GB, free: 8.582 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (93): * Single equations (assignments): 92 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01206/0.3106, allocations: 5.157 MB / 0.735 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007851/0.3185, allocations: 3.01 MB / 0.7379 GB, free: 384 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3186, allocations: 4 kB / 0.7379 GB, free: 380 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004169/0.3227, allocations: 1.539 MB / 0.7394 GB, free: 14.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001435/0.3242, allocations: 129.5 kB / 0.7395 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/0.3605, allocations: 18.85 MB / 0.758 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/0.3612, allocations: 1.234 MB / 0.7592 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006648/0.3619, allocations: 163.2 kB / 0.7593 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009433/0.3629, allocations: 0.632 MB / 0.7599 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.3629, allocations: 0 / 0.7599 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3002/0.6631, allocations: 45.05 MB / 0.8039 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.29, allocations: 7.688 kB / 0.8039 GB, free: 97.77 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)