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.001175/0.001175, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.32/1.32, allocations: 223.2 MB / 238.9 MB, free: 5.508 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.001315/0.001315, allocations: 185 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4595/0.4595, allocations: 79.44 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.0003681, allocations: 12 kB / 0.489 GB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 69.51 MB / 0.5569 GB, free: 40 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Mostar): time 0.2444/0.3729, allocations: 6.3 MB / 0.563 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004818/0.3778, allocations: 2.605 MB / 0.5656 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.3791, allocations: 26.31 kB / 0.5656 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005792/0.3797, allocations: 177.7 kB / 0.5658 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.3819, allocations: 0.7513 MB / 0.5665 GB, free: 36.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.3836, allocations: 0.6631 MB / 0.5672 GB, free: 36.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002177/0.3858, allocations: 1.221 MB / 0.5683 GB, free: 35.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006319/0.3864, allocations: 460.3 kB / 0.5688 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007257/0.3871, allocations: 0.5793 MB / 0.5694 GB, free: 35.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006833/0.3878, allocations: 0.7465 MB / 0.5701 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.388, allocations: 67.62 kB / 0.5701 GB, free: 34.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005914/0.3886, allocations: 266.3 kB / 0.5704 GB, free: 34.92 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3888, allocations: 289.7 kB / 0.5707 GB, free: 34.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.389, allocations: 291.8 kB / 0.571 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3903, allocations: 1.777 MB / 0.5727 GB, free: 34.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3903, allocations: 2.062 kB / 0.5727 GB, free: 34.13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3903, allocations: 0 / 0.5727 GB, free: 34.13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.524e-05/0.3904, allocations: 0 / 0.5727 GB, free: 34.13 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.008003/0.3984, allocations: 2.7 MB / 0.5753 GB, free: 32.96 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3985, allocations: 11.69 kB / 0.5753 GB, free: 32.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001722/0.4002, allocations: 318.6 kB / 0.5756 GB, free: 32.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.402, allocations: 1.06 MB / 0.5767 GB, free: 32.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.4023, allocations: 221.4 kB / 0.5769 GB, free: 32 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.4025, allocations: 121.9 kB / 0.577 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002377/0.4049, allocations: 1.374 MB / 0.5783 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.4049, allocations: 1.188 kB / 0.5783 GB, free: 31.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.405, allocations: 43.12 kB / 0.5784 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.405, allocations: 24.81 kB / 0.5784 GB, free: 31.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.4075, allocations: 1.257 MB / 0.5796 GB, free: 30.91 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.007096/0.4146, allocations: 5.417 MB / 0.5849 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00798/0.4226, allocations: 3.014 MB / 0.5879 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001427/0.4228, allocations: 20.11 kB / 0.5879 GB, free: 26.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/0.4245, allocations: 0.7839 MB / 0.5887 GB, free: 26.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=101): time 3.076e-06/0.4246, allocations: 4 kB / 0.5887 GB, free: 26.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=101): time 0.01011/0.4347, allocations: 3.385 MB / 0.592 GB, free: 25.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.4348, allocations: 281.6 kB / 0.5922 GB, free: 24.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.4367, allocations: 1.345 MB / 0.5935 GB, free: 24.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001779/0.4369, allocations: 47.95 kB / 0.5936 GB, free: 24.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.4373, allocations: 0.6395 MB / 0.5942 GB, free: 23.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.4377, allocations: 378.9 kB / 0.5946 GB, free: 23.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.906e-05/0.4378, allocations: 34.84 kB / 0.5946 GB, free: 23.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4379, allocations: 372.4 kB / 0.595 GB, free: 22.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.4395, allocations: 0.7993 MB / 0.5957 GB, free: 22.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.4413, allocations: 1.061 MB / 0.5968 GB, free: 22.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001818/0.4432, allocations: 0.882 MB / 0.5976 GB, free: 21.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4432, allocations: 1.188 kB / 0.5976 GB, free: 21.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009593/0.4528, allocations: 3.715 MB / 0.6013 GB, free: 20.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.4531, allocations: 1.521 MB / 0.6028 GB, free: 18.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.4531, allocations: 7.344 kB / 0.6028 GB, free: 18.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006192/0.4593, allocations: 1.83 MB / 0.6046 GB, free: 18.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.4606, allocations: 252 kB / 0.6048 GB, free: 18.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.4723, allocations: 9.3 MB / 0.6139 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/0.4745, allocations: 261.6 kB / 0.6141 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.4748, allocations: 63.33 kB / 0.6142 GB, free: 11.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.4748, allocations: 4.75 kB / 0.6142 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007917/0.4827, allocations: 2.959 MB / 0.6171 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.4828, allocations: 3.359 kB / 0.6171 GB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00529/0.4881, allocations: 1.567 MB / 0.6186 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.4893, allocations: 251.4 kB / 0.6189 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006811/0.4961, allocations: 7.814 MB / 0.6265 GB, free: 3.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4979, allocations: 189.8 kB / 0.6267 GB, free: 2.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002321/0.4982, allocations: 69.97 kB / 0.6267 GB, free: 2.809 MB / 430.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.0009294/0.4991, allocations: 401.8 kB / 0.6271 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.4995, allocations: 154.8 kB / 0.6273 GB, free: 2.258 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005534/0.505, allocations: 2.168 MB / 0.6294 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5051, allocations: 12 kB / 0.6294 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.5051, allocations: 0 / 0.6294 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/0.5051, allocations: 5.578 kB / 0.6294 GB, free: 468 kB / 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 postOpt removeSimpleEquations (simulation): time 0.008464/0.5136, allocations: 3.994 MB / 0.6333 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5136, allocations: 0 / 0.6333 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009378/0.5146, allocations: 195.8 kB / 0.6335 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.5169, allocations: 0.6529 MB / 0.6341 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.517, allocations: 27.98 kB / 0.6341 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007409/0.5245, allocations: 3.77 MB / 0.6378 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5245, allocations: 3.984 kB / 0.6378 GB, free: 8.141 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007576/0.5321, allocations: 3.006 MB / 0.6408 GB, free: 5.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.5327, allocations: 268.6 kB / 0.641 GB, free: 4.816 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/0.5331, allocations: 24 kB / 0.641 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.5345, allocations: 135.9 kB / 0.6412 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/0.5348, allocations: 124.7 kB / 0.6413 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.5349, allocations: 28 kB / 0.6413 GB, free: 4.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.5365, allocations: 0.8842 MB / 0.6422 GB, free: 3.629 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.502e-06/0.5365, allocations: 0 / 0.6422 GB, free: 3.629 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002606/0.5391, allocations: 0.7175 MB / 0.6429 GB, free: 2.91 MB / 446.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.000351/0.5394, allocations: 154.6 kB / 0.643 GB, free: 2.754 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009994/0.5494, allocations: 4.677 MB / 0.6476 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5495, allocations: 0 / 0.6476 GB, free: 13.95 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/0.5518, allocations: 1.07 MB / 0.6486 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.553, allocations: 157.1 kB / 0.6488 GB, free: 12.69 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005778/0.5588, allocations: 3.352 MB / 0.6521 GB, free: 9.355 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/0.5597, allocations: 1.235 MB / 0.6533 GB, free: 8.094 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008557/0.5606, allocations: 174.7 kB / 0.6534 GB, free: 7.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.561, allocations: 87.42 kB / 0.6535 GB, free: 7.844 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.561, allocations: 0 / 0.6535 GB, free: 7.844 MB / 462.1 MB Notification: Performance of Templates: time 0.04222/0.6032, allocations: 25.95 MB / 0.6789 GB, free: 14.06 MB / 494.1 MB 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)