Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.1216/0.1216, allocations: 12.19 MB / 27.43 MB, free: 1.387 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 119.4 kB / 30.94 MB, free: 4.66 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.1 MB / 239.4 MB, free: 10.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 188.5 kB / 289.6 MB, free: 15.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.6637/0.6637, allocations: 78.5 MB / 418.1 MB, free: 31.7 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003146/0.003146, allocations: 135.8 kB / 498.5 MB, free: 404 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.6022, allocations: 68.03 MB / 0.5533 GB, free: 37.92 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.01342/0.6157, allocations: 6.365 MB / 0.5595 GB, free: 33.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008516/0.6243, allocations: 2.163 MB / 0.5616 GB, free: 31.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.6262, allocations: 8.938 kB / 0.5616 GB, free: 31.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001736/0.628, allocations: 187.7 kB / 0.5618 GB, free: 31.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.6345, allocations: 1.061 MB / 0.5628 GB, free: 30.96 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002176/0.6366, allocations: 452 kB / 0.5632 GB, free: 30.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00479/0.6415, allocations: 1.828 MB / 0.565 GB, free: 29.9 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008545/0.6423, allocations: 212.2 kB / 0.5652 GB, free: 29.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002225/0.6446, allocations: 0.712 MB / 0.5659 GB, free: 29.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002777/0.6474, allocations: 0.9504 MB / 0.5669 GB, free: 29.05 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008907/0.6483, allocations: 146.9 kB / 0.567 GB, free: 29.05 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.6495, allocations: 325 kB / 0.5673 GB, free: 28.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.65, allocations: 377.9 kB / 0.5677 GB, free: 28.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001816/0.6518, allocations: 0.6899 MB / 0.5683 GB, free: 28.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.6546, allocations: 1.702 MB / 0.57 GB, free: 27.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.6546, allocations: 0 / 0.57 GB, free: 27.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.6546, allocations: 0 / 0.57 GB, free: 27.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.21e-05/0.6547, allocations: 0 / 0.57 GB, free: 27.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01867/0.6734, allocations: 3.712 MB / 0.5736 GB, free: 26.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.899e-05/0.6735, allocations: 13.33 kB / 0.5736 GB, free: 26.28 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005145/0.674, allocations: 108.7 kB / 0.5737 GB, free: 26.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003823/0.6779, allocations: 0.4914 MB / 0.5742 GB, free: 26.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.6808, allocations: 0.8928 MB / 0.5751 GB, free: 25.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004146/0.6813, allocations: 228.9 kB / 0.5753 GB, free: 25.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/0.6818, allocations: 85.06 kB / 0.5754 GB, free: 25.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/0.6847, allocations: 0.8915 MB / 0.5763 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.6847, allocations: 1.188 kB / 0.5763 GB, free: 24.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.6848, allocations: 24.91 kB / 0.5763 GB, free: 24.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.6849, allocations: 15.48 kB / 0.5763 GB, free: 24.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/0.6881, allocations: 0.9848 MB / 0.5773 GB, free: 24.59 MB / 414.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.008936/0.6971, allocations: 2.944 MB / 0.5801 GB, free: 22.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/0.7008, allocations: 1.09 MB / 0.5812 GB, free: 22.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.7027, allocations: 0.6627 MB / 0.5818 GB, free: 22.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.7029, allocations: 21.86 kB / 0.5819 GB, free: 22.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.703, allocations: 40.39 kB / 0.5819 GB, free: 22.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=94): time 5.951e-06/0.703, allocations: 0 / 0.5819 GB, free: 22.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=94): time 0.02982/0.7328, allocations: 6.479 MB / 0.5882 GB, free: 19.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.44e-05/0.733, allocations: 65.44 kB / 0.5883 GB, free: 19.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003567/0.7365, allocations: 1.141 MB / 0.5894 GB, free: 18.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003467/0.7369, allocations: 55.83 kB / 0.5895 GB, free: 18.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004797/0.7374, allocations: 387.1 kB / 0.5898 GB, free: 18.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/0.738, allocations: 367.5 kB / 0.5902 GB, free: 18.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.7392, allocations: 360.9 kB / 0.5905 GB, free: 18.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.7393, allocations: 309.1 kB / 0.5908 GB, free: 17.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/0.7419, allocations: 0.9052 MB / 0.5917 GB, free: 17.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002603/0.7445, allocations: 0.9341 MB / 0.5926 GB, free: 16.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/0.7495, allocations: 1.808 MB / 0.5944 GB, free: 15.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.148e-05/0.7495, allocations: 1.062 kB / 0.5944 GB, free: 15.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008729/0.7583, allocations: 3.045 MB / 0.5974 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.7583, allocations: 11.28 kB / 0.5974 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7584, allocations: 0 / 0.5974 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008705/0.7671, allocations: 2.276 MB / 0.5996 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.7687, allocations: 323.5 kB / 0.5999 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005061/0.7737, allocations: 2.272 MB / 0.6021 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.7765, allocations: 202.4 kB / 0.6023 GB, free: 8.285 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/0.7768, allocations: 59.98 kB / 0.6024 GB, free: 8.227 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0007884/0.7776, allocations: 257.5 kB / 0.6026 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005456/0.7781, allocations: 118.5 kB / 0.6027 GB, free: 7.848 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.7884, allocations: 3.305 MB / 0.606 GB, free: 4.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/0.7885, allocations: 11.94 kB / 0.606 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/0.7885, allocations: 0 / 0.606 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.7885, allocations: 11.98 kB / 0.606 GB, free: 4.504 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.7908, allocations: 1.214 MB / 0.6072 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/0.7908, allocations: 0 / 0.6072 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007389/0.7916, allocations: 111.8 kB / 0.6073 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004765/0.7963, allocations: 1.442 MB / 0.6087 GB, free: 1.688 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.7965, allocations: 28 kB / 0.6087 GB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0214/0.8179, allocations: 7.814 MB / 0.6163 GB, free: 9.691 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/0.818, allocations: 3.938 kB / 0.6163 GB, free: 9.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01381/0.8318, allocations: 4.139 MB / 0.6204 GB, free: 5.527 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8329, allocations: 239.3 kB / 0.6206 GB, free: 5.273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006851/0.8336, allocations: 16 kB / 0.6206 GB, free: 5.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/0.8355, allocations: 87.91 kB / 0.6207 GB, free: 5.172 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007874/0.8363, allocations: 172.8 kB / 0.6209 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.8364, allocations: 24 kB / 0.6209 GB, free: 4.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001894/0.8384, allocations: 0.7641 MB / 0.6216 GB, free: 4.207 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.8384, allocations: 0 / 0.6216 GB, free: 4.207 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002496/0.8409, allocations: 439.7 kB / 0.6221 GB, free: 3.777 MB / 430.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 (62): * Single equations (assignments): 61 * 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.01397/0.8549, allocations: 4.601 MB / 0.6266 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008995/0.8639, allocations: 2.39 MB / 0.6289 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8639, allocations: 4 kB / 0.6289 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.8686, allocations: 1.313 MB / 0.6302 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.8706, allocations: 90.7 kB / 0.6303 GB, free: 11.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03643/0.9071, allocations: 14.31 MB / 0.6442 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001107/0.9083, allocations: 1.057 MB / 0.6453 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006661/0.909, allocations: 103.6 kB / 0.6454 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008549/0.9098, allocations: 431.3 kB / 0.6458 GB, free: 11.07 MB / 462.1 MB Notification: Performance of SimCode: time 2.104e-06/0.9099, allocations: 0 / 0.6458 GB, free: 11.07 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08227/0.9921, allocations: 32.37 MB / 0.6774 GB, free: 10.87 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003551/0.9926, allocations: 270.9 kB / 0.6777 GB, free: 10.52 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/4.193, allocations: 0 / 0.6777 GB, free: 10.52 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)