Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.conf.json 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/Modelica 4.0.0+maint.om/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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") translateModel(OpenIPSL.Examples.RaPIdExperiments.Mostar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.5 MB / 229.6 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008819/0.0008818, allocations: 92.72 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4859/0.4859, allocations: 78.07 MB / 409.3 MB, free: 6.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.396e-05/1.398e-05, allocations: 0 / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.155, allocations: 69.36 MB / 0.5413 GB, free: 6.789 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4513/0.6063, allocations: 106.3 MB / 0.645 GB, free: 9.238 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.6066, allocations: 71.97 kB / 0.6451 GB, free: 9.168 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1036/0.7102, allocations: 38.81 MB / 0.683 GB, free: 2.438 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.7103, allocations: 0 / 0.683 GB, free: 2.438 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002406/0.7105, allocations: 39.98 kB / 0.683 GB, free: 2.398 MB / 490.7 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.00644/0.717, allocations: 1.728 MB / 0.6847 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/0.7171, allocations: 8.031 kB / 0.6847 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.7191, allocations: 277.6 kB / 0.685 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.7219, allocations: 1.018 MB / 0.686 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002869/0.7222, allocations: 172.7 kB / 0.6862 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/0.7225, allocations: 71.91 kB / 0.6862 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002192/0.7247, allocations: 0.8436 MB / 0.6871 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.7269, allocations: 1.025 MB / 0.6881 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.727, allocations: 4 kB / 0.6881 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.7271, allocations: 0 / 0.6881 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.7271, allocations: 24 kB / 0.6881 GB, free: 13.04 MB / 0.4948 GB 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.00974/0.7369, allocations: 4.999 MB / 0.693 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.7446, allocations: 2.639 MB / 0.6955 GB, free: 5.117 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008111/0.7455, allocations: 441.8 kB / 0.696 GB, free: 4.684 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-05/0.7456, allocations: 25.25 kB / 0.696 GB, free: 4.656 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.7466, allocations: 0.5725 MB / 0.6966 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=101): time 3.086e-06/0.7466, allocations: 0 / 0.6966 GB, free: 4.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=101): time 0.004602/0.7512, allocations: 1.602 MB / 0.6981 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.7514, allocations: 270.3 kB / 0.6984 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.7534, allocations: 1.019 MB / 0.6994 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/0.7535, allocations: 25.7 kB / 0.6994 GB, free: 1.062 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005768/0.7541, allocations: 0.6736 MB / 0.7001 GB, free: 392 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003951/0.7545, allocations: 350.8 kB / 0.7004 GB, free: 36 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.384e-05/0.7546, allocations: 0 / 0.7004 GB, free: 36 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.7548, allocations: 354 kB / 0.7007 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.7555, allocations: 414.6 kB / 0.7011 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000914/0.7564, allocations: 0.6253 MB / 0.7017 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009386/0.7574, allocations: 474.6 kB / 0.7022 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.7574, allocations: 4 kB / 0.7022 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.005519/0.7629, allocations: 2.239 MB / 0.7044 GB, free: 11.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006479/0.7636, allocations: 1.52 MB / 0.7059 GB, free: 10.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.7636, allocations: 7.938 kB / 0.7059 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/0.7684, allocations: 1.376 MB / 0.7072 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.7691, allocations: 143.8 kB / 0.7073 GB, free: 8.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.7748, allocations: 4.397 MB / 0.7116 GB, free: 4.188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.7766, allocations: 171.1 kB / 0.7118 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.7768, allocations: 51.98 kB / 0.7119 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.7769, allocations: 4 kB / 0.7119 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004476/0.7813, allocations: 1.755 MB / 0.7136 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.7814, allocations: 4 kB / 0.7136 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00453/0.7859, allocations: 1.26 MB / 0.7148 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.7866, allocations: 147.8 kB / 0.7149 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/0.7945, allocations: 7.386 MB / 0.7222 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7963, allocations: 135 kB / 0.7223 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003095/0.7966, allocations: 47.97 kB / 0.7223 GB, free: 8.719 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 78 * 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.0006873/0.7973, allocations: 139.2 kB / 0.7225 GB, free: 8.582 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005863/0.7979, allocations: 146.2 kB / 0.7226 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004622/0.8025, allocations: 1.651 MB / 0.7242 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.8026, allocations: 13.97 kB / 0.7242 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8026, allocations: 0 / 0.7242 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.8026, allocations: 3.984 kB / 0.7242 GB, free: 6.75 MB / 0.5261 GB 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.007036/0.8097, allocations: 3.314 MB / 0.7275 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.8097, allocations: 4 kB / 0.7275 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009457/0.8106, allocations: 195.8 kB / 0.7277 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.8124, allocations: 486.7 kB / 0.7281 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.8125, allocations: 15.98 kB / 0.7281 GB, free: 2.652 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005007/0.8175, allocations: 2.993 MB / 0.7311 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8175, allocations: 0 / 0.7311 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/0.8228, allocations: 2.309 MB / 0.7333 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.8234, allocations: 250.9 kB / 0.7336 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/0.8237, allocations: 4 kB / 0.7336 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.825, allocations: 115.9 kB / 0.7337 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/0.8253, allocations: 125.1 kB / 0.7338 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.8254, allocations: 28 kB / 0.7338 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001354/0.8268, allocations: 0.7619 MB / 0.7346 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8268, allocations: 4 kB / 0.7346 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002247/0.8291, allocations: 0.5533 MB / 0.7351 GB, free: 11.34 MB / 0.5417 GB 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 () * 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.0004281/0.8295, allocations: 159.5 kB / 0.7353 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.008205/0.8377, allocations: 3.063 MB / 0.7382 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.8378, allocations: 4.781 kB / 0.7383 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001741/0.8395, allocations: 0.8751 MB / 0.7391 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.8408, allocations: 142.7 kB / 0.7392 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004233/0.8451, allocations: 2.119 MB / 0.7413 GB, free: 4.855 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008355/0.8459, allocations: 1.244 MB / 0.7425 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001126/0.8471, allocations: 219.2 kB / 0.7427 GB, free: 3.367 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.8473, allocations: 67.42 kB / 0.7428 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of SimCode: time 6.32e-07/0.8473, allocations: 0 / 0.7428 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of Templates: time 0.3866/1.234, allocations: 24.05 MB / 0.7663 GB, free: 141.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.makefile (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & ./OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)