Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.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: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009016, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.258/1.258, allocations: 223.3 MB / 239 MB, free: 5.449 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.0009682/0.0009682, allocations: 176.5 kB / 290.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.469/0.469, allocations: 91.92 MB / 433.3 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003555, allocations: 12 kB / 0.5042 GB, free: 7.641 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3023, allocations: 72.47 MB / 0.5749 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.004859/0.3072, allocations: 6.488 MB / 0.5813 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003664/0.3109, allocations: 2.62 MB / 0.5838 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008855/0.3118, allocations: 19.81 kB / 0.5838 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005328/0.3124, allocations: 194.5 kB / 0.584 GB, free: 30.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.3138, allocations: 0.688 MB / 0.5847 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.3149, allocations: 0.6717 MB / 0.5854 GB, free: 29.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.3162, allocations: 1.834 MB / 0.5871 GB, free: 28.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.3167, allocations: 454.4 kB / 0.5876 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004488/0.3172, allocations: 0.5825 MB / 0.5881 GB, free: 28.31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005713/0.3177, allocations: 0.7592 MB / 0.5889 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.3179, allocations: 68.19 kB / 0.589 GB, free: 27.95 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.3183, allocations: 269.3 kB / 0.5892 GB, free: 27.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.3185, allocations: 292.9 kB / 0.5895 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.3187, allocations: 293.3 kB / 0.5898 GB, free: 27.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.3198, allocations: 1.799 MB / 0.5915 GB, free: 27.08 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3198, allocations: 0 / 0.5915 GB, free: 27.08 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3199, allocations: 1.969 kB / 0.5915 GB, free: 27.08 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.3199, allocations: 0.6875 kB / 0.5915 GB, free: 27.08 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006765/0.3266, allocations: 2.695 MB / 0.5942 GB, free: 25.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3267, allocations: 13.19 kB / 0.5942 GB, free: 25.89 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.3279, allocations: 321 kB / 0.5945 GB, free: 25.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.3292, allocations: 1.061 MB / 0.5955 GB, free: 25.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3294, allocations: 219.6 kB / 0.5957 GB, free: 24.92 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.3296, allocations: 120.6 kB / 0.5958 GB, free: 24.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.3318, allocations: 1.379 MB / 0.5972 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3318, allocations: 4.969 kB / 0.5972 GB, free: 24.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.41e-05/0.3319, allocations: 42.88 kB / 0.5972 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.332, allocations: 24.31 kB / 0.5973 GB, free: 24.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/0.3344, allocations: 1.263 MB / 0.5985 GB, free: 23.8 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.006638/0.3411, allocations: 5.311 MB / 0.6037 GB, free: 20.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.3487, allocations: 3.01 MB / 0.6066 GB, free: 19.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.3499, allocations: 0.6368 MB / 0.6072 GB, free: 19.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.19e-05/0.35, allocations: 22.08 kB / 0.6073 GB, free: 19.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.3516, allocations: 0.7964 MB / 0.608 GB, free: 18.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 2.665e-06/0.3516, allocations: 0 / 0.608 GB, free: 18.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.009057/0.3606, allocations: 3.39 MB / 0.6113 GB, free: 17.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.3607, allocations: 269.5 kB / 0.6116 GB, free: 17.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.3625, allocations: 1.348 MB / 0.6129 GB, free: 16.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.3626, allocations: 48.67 kB / 0.613 GB, free: 16.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.363, allocations: 0.6382 MB / 0.6136 GB, free: 16.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/0.3633, allocations: 376.5 kB / 0.6139 GB, free: 16.06 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.3634, allocations: 35.72 kB / 0.614 GB, free: 16.04 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.3635, allocations: 376.4 kB / 0.6143 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.365, allocations: 0.799 MB / 0.6151 GB, free: 15.42 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.3667, allocations: 1.077 MB / 0.6162 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.3683, allocations: 0.8804 MB / 0.617 GB, free: 14.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.3683, allocations: 0.9375 kB / 0.617 GB, free: 14.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008298/0.3766, allocations: 3.716 MB / 0.6207 GB, free: 13.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.52e-05/0.3767, allocations: 217.4 kB / 0.6209 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.3768, allocations: 3.531 kB / 0.6209 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/0.3819, allocations: 1.831 MB / 0.6227 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009222/0.3829, allocations: 255.4 kB / 0.6229 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/0.3914, allocations: 9.172 MB / 0.6319 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.393, allocations: 258.3 kB / 0.6321 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3931, allocations: 63.98 kB / 0.6322 GB, free: 1.887 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-06/0.3931, allocations: 4 kB / 0.6322 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006054/0.3992, allocations: 2.958 MB / 0.6351 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3992, allocations: 4 kB / 0.6351 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004588/0.4038, allocations: 1.569 MB / 0.6366 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4048, allocations: 259.6 kB / 0.6368 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006838/0.4117, allocations: 7.745 MB / 0.6444 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.4132, allocations: 190.7 kB / 0.6446 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.4133, allocations: 60.06 kB / 0.6446 GB, free: 4.504 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0006992/0.414, allocations: 402.6 kB / 0.645 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.4142, allocations: 154.1 kB / 0.6452 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005159/0.4194, allocations: 2.163 MB / 0.6473 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.4194, allocations: 12 kB / 0.6473 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4194, allocations: 0 / 0.6473 GB, free: 1.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.4194, allocations: 3.984 kB / 0.6473 GB, free: 1.75 MB / 446.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.007006/0.4264, allocations: 3.997 MB / 0.6512 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4265, allocations: 4 kB / 0.6512 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009532/0.4274, allocations: 199.8 kB / 0.6514 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.4296, allocations: 0.6549 MB / 0.652 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.27e-05/0.4297, allocations: 27.98 kB / 0.6521 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/0.4361, allocations: 3.649 MB / 0.6556 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4361, allocations: 0 / 0.6556 GB, free: 8.961 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006612/0.4427, allocations: 2.998 MB / 0.6586 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/0.4432, allocations: 254.9 kB / 0.6588 GB, free: 5.664 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000199/0.4435, allocations: 20 kB / 0.6588 GB, free: 5.645 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009914/0.4445, allocations: 143.8 kB / 0.659 GB, free: 5.504 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/0.4447, allocations: 120.8 kB / 0.6591 GB, free: 5.387 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.4448, allocations: 28 kB / 0.6591 GB, free: 5.359 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.4459, allocations: 0.8842 MB / 0.66 GB, free: 4.477 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.446, allocations: 4 kB / 0.66 GB, free: 4.473 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00177/0.4477, allocations: 0.7175 MB / 0.6607 GB, free: 3.754 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.448, allocations: 146.8 kB / 0.6608 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008496/0.4565, allocations: 4.681 MB / 0.6654 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.4565, allocations: 256 / 0.6654 GB, free: 14.78 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001998/0.4585, allocations: 1.076 MB / 0.6664 GB, free: 13.67 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/0.4595, allocations: 181.1 kB / 0.6666 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.464, allocations: 3.354 MB / 0.6699 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006735/0.4647, allocations: 1.212 MB / 0.6711 GB, free: 8.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006993/0.4654, allocations: 161.7 kB / 0.6712 GB, free: 8.727 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.4657, allocations: 87.42 kB / 0.6713 GB, free: 8.645 MB / 478.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4657, allocations: 4 kB / 0.6713 GB, free: 8.641 MB / 478.1 MB Notification: Performance of Templates: time 0.03545/0.5012, allocations: 25.98 MB / 0.6967 GB, free: 14.73 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)