Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008238/0.008238, allocations: 1.337 MB / 8.813 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.668e-05, allocations: 5.594 kB / 13.13 MB, free: 2.941 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006247/0.0006645, allocations: 356.9 kB / 13.48 MB, free: 2.801 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01031/0.01099, allocations: 3.35 MB / 16.83 MB, free: 0.7578 MB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001329/0.01117, allocations: 51.05 kB / 16.88 MB, free: 0.7578 MB / 7.832 MB Notification: Performance of FrontEnd - DAE generated: time 0.0495/0.06069, allocations: 9.106 MB / 25.99 MB, free: 3.832 MB / 14.12 MB Notification: Performance of FrontEnd: time 2.335e-06/0.06075, allocations: 0 / 25.99 MB, free: 3.832 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.972e-05/0.06081, allocations: 14.12 kB / 26 MB, free: 3.832 MB / 14.12 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001517/0.06234, allocations: 0.7533 MB / 26.75 MB, free: 3.297 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.0624, allocations: 8.156 kB / 26.76 MB, free: 3.297 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.06259, allocations: 66.2 kB / 26.83 MB, free: 3.266 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007994/0.0634, allocations: 393.2 kB / 27.21 MB, free: 3.043 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.06347, allocations: 22.38 kB / 27.23 MB, free: 3.043 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.06361, allocations: 41.28 kB / 27.27 MB, free: 3.043 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001302/0.06492, allocations: 0.5781 MB / 27.85 MB, free: 3.039 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.06661, allocations: 0.784 MB / 28.63 MB, free: 2.949 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.06665, allocations: 3.469 kB / 28.64 MB, free: 2.949 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.268e-05/0.06674, allocations: 14.03 kB / 28.65 MB, free: 2.945 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.06687, allocations: 43.27 kB / 28.69 MB, free: 2.945 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003137/0.07002, allocations: 1.441 MB / 30.14 MB, free: 2.383 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007842/0.07082, allocations: 408 kB / 30.53 MB, free: 2.059 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005244/0.07136, allocations: 238.9 kB / 30.77 MB, free: 1.848 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.07243, allocations: 0.8612 MB / 31.63 MB, free: 0.8359 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.07249, allocations: 42.56 kB / 31.67 MB, free: 0.7852 MB / 14.12 MB Notification: Performance of pre-optimization done (n=33): time 3.075e-06/0.0725, allocations: 0 / 31.67 MB, free: 0.7852 MB / 14.12 MB Notification: Performance of matching and sorting (n=33): time 0.001508/0.07402, allocations: 486.8 kB / 32.15 MB, free: 384 kB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.07417, allocations: 177.9 kB / 32.32 MB, free: 172 kB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009176/0.08336, allocations: 204 kB / 32.52 MB, free: 3.199 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.08351, allocations: 31.66 kB / 32.55 MB, free: 3.168 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.08375, allocations: 286.3 kB / 32.83 MB, free: 3.035 MB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.08389, allocations: 96.28 kB / 32.92 MB, free: 2.98 MB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.08394, allocations: 5.5 kB / 32.93 MB, free: 2.98 MB / 14.12 MB Notification: Performance of setup shared object (initialization): time 7.769e-05/0.08403, allocations: 337.3 kB / 33.26 MB, free: 2.668 MB / 14.12 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.08447, allocations: 202.4 kB / 33.46 MB, free: 2.668 MB / 14.12 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.08498, allocations: 318.5 kB / 33.77 MB, free: 2.539 MB / 14.12 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006371/0.08563, allocations: 221.2 kB / 33.98 MB, free: 2.535 MB / 14.12 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.08565, allocations: 3.062 kB / 33.99 MB, free: 2.535 MB / 14.12 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001449/0.0871, allocations: 0.6079 MB / 34.59 MB, free: 2.477 MB / 14.12 MB Notification: Performance of prepare postOptimizeDAE: time 7.796e-05/0.0872, allocations: 78.64 kB / 34.67 MB, free: 2.414 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.08722, allocations: 6.844 kB / 34.68 MB, free: 2.414 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/0.08878, allocations: 235.6 kB / 34.91 MB, free: 2.406 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002958/0.08909, allocations: 59.42 kB / 34.96 MB, free: 2.406 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/0.09002, allocations: 0.7828 MB / 35.75 MB, free: 1.879 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.09039, allocations: 51.08 kB / 35.8 MB, free: 1.867 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.908e-05/0.09048, allocations: 33.11 kB / 35.83 MB, free: 1.867 MB / 14.12 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T1.speedSumOut[1]:VARIABLE(protected = true ) "Output speeds of continuous output places" type: Real [1] P2.prelimSpeedIn[1]:VARIABLE(protected = true ) "preliminary speed of input transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.feeding,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T1.activation.fed[1],T2.activation.arcType[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.09076, allocations: 217.9 kB / 36.04 MB, free: 1.695 MB / 14.12 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.09086, allocations: 34.55 kB / 36.08 MB, free: 1.68 MB / 14.12 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.09247, allocations: 0.6232 MB / 36.7 MB, free: 1.609 MB / 14.12 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.18e-05/0.09252, allocations: 6.812 kB / 36.71 MB, free: 1.609 MB / 14.12 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.09254, allocations: 0 / 36.71 MB, free: 1.609 MB / 14.12 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.09255, allocations: 3.094 kB / 36.71 MB, free: 1.609 MB / 14.12 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.09446, allocations: 1.018 MB / 37.73 MB, free: 0.8398 MB / 14.12 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.09448, allocations: 4.766 kB / 37.73 MB, free: 0.8359 MB / 14.12 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.09471, allocations: 31.14 kB / 37.76 MB, free: 0.8086 MB / 14.12 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.09579, allocations: 248.7 kB / 38 MB, free: 0.6211 MB / 14.12 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.09585, allocations: 18.16 kB / 38.02 MB, free: 0.6055 MB / 14.12 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01062/0.1065, allocations: 0.8122 MB / 38.83 MB, free: 2.125 MB / 14.12 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1065, allocations: 0 / 38.83 MB, free: 2.125 MB / 14.12 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.1085, allocations: 0.8884 MB / 39.72 MB, free: 1.984 MB / 14.12 MB Notification: Performance of postOpt removeConstants (simulation): time 5.964e-05/0.1086, allocations: 96.39 kB / 39.82 MB, free: 1.891 MB / 14.12 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.426e-05/0.1087, allocations: 17.53 kB / 39.83 MB, free: 1.891 MB / 14.12 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.109, allocations: 36.11 kB / 39.87 MB, free: 1.891 MB / 14.12 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002944/0.1093, allocations: 85.88 kB / 39.95 MB, free: 1.891 MB / 14.12 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.119e-05/0.1094, allocations: 22.48 kB / 39.98 MB, free: 1.891 MB / 14.12 MB Notification: Performance of sorting global known variables: time 0.0001297/0.1095, allocations: 141.6 kB / 40.11 MB, free: 1.812 MB / 14.12 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1095, allocations: 0 / 40.11 MB, free: 1.812 MB / 14.12 MB Notification: Performance of remove unused functions: time 0.0008101/0.1104, allocations: 187.6 kB / 40.3 MB, free: 1.812 MB / 14.12 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004287/0.1108, allocations: 205.9 kB / 40.5 MB, free: 1.715 MB / 14.12 MB Notification: Performance of simCode: created initialization part: time 0.001311/0.1121, allocations: 0.6949 MB / 41.19 MB, free: 1.586 MB / 14.12 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.1122, allocations: 3.812 kB / 41.2 MB, free: 1.586 MB / 14.12 MB Notification: Performance of simCode: created simulation system equations: time 0.0006864/0.1129, allocations: 424.5 kB / 41.61 MB, free: 1.457 MB / 14.12 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1132, allocations: 29.47 kB / 41.64 MB, free: 1.457 MB / 14.12 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/0.1151, allocations: 0.8155 MB / 42.46 MB, free: 1 MB / 14.12 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004246/0.1155, allocations: 0.9503 MB / 43.41 MB, free: 128 kB / 14.12 MB Notification: Performance of simCode: alias equations: time 0.0002896/0.1158, allocations: 77.14 kB / 43.48 MB, free: 84 kB / 14.12 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.45e-05/0.1159, allocations: 30.16 kB / 43.51 MB, free: 56 kB / 14.12 MB Notification: Performance of SimCode: time 9.01e-07/0.1159, allocations: 0 / 43.51 MB, free: 56 kB / 14.12 MB Notification: Performance of Templates: time 0.04315/0.1591, allocations: 6.259 MB / 49.77 MB, free: 6.266 MB / 18.83 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)