Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00826/0.00826, allocations: 1.337 MB / 8.814 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.949e-05/1.95e-05, allocations: 0 / 13.13 MB, free: 2.273 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006618/0.0007077, allocations: 364.9 kB / 13.49 MB, free: 2.238 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004969/0.005697, allocations: 3.36 MB / 16.85 MB, free: 1.91 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001701/0.005927, allocations: 47.98 kB / 16.89 MB, free: 1.863 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.05634/0.06229, allocations: 10.64 MB / 27.53 MB, free: 3.707 MB / 14.12 MB Notification: Performance of FrontEnd: time 1.773e-06/0.06235, allocations: 0 / 27.53 MB, free: 3.707 MB / 14.12 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.0624, allocations: 13.84 kB / 27.55 MB, free: 3.707 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001733/0.06415, allocations: 0.8599 MB / 28.41 MB, free: 3.113 MB / 14.12 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.06421, allocations: 11.25 kB / 28.42 MB, free: 3.113 MB / 14.12 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/0.06454, allocations: 84.83 kB / 28.5 MB, free: 3.07 MB / 14.12 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.06575, allocations: 451.4 kB / 28.94 MB, free: 2.797 MB / 14.12 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.552e-05/0.06586, allocations: 31.53 kB / 28.97 MB, free: 2.77 MB / 14.12 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.06611, allocations: 60.09 kB / 29.03 MB, free: 2.715 MB / 14.12 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002151/0.06827, allocations: 0.7433 MB / 29.78 MB, free: 2.074 MB / 14.12 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002833/0.07115, allocations: 1.023 MB / 30.8 MB, free: 1.211 MB / 14.12 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.07123, allocations: 0 / 30.8 MB, free: 1.211 MB / 14.12 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.07135, allocations: 8.828 kB / 30.81 MB, free: 1.203 MB / 14.12 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.07154, allocations: 57.95 kB / 30.86 MB, free: 1.148 MB / 14.12 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.08643, allocations: 1.866 MB / 32.73 MB, free: 2.23 MB / 14.12 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/0.08748, allocations: 489.1 kB / 33.21 MB, free: 2.109 MB / 14.12 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/0.08819, allocations: 329.5 kB / 33.53 MB, free: 2.102 MB / 14.12 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.08922, allocations: 1.029 MB / 34.56 MB, free: 0.9766 MB / 14.12 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.08929, allocations: 43.39 kB / 34.6 MB, free: 0.9375 MB / 14.12 MB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/0.08931, allocations: 0 / 34.6 MB, free: 0.9375 MB / 14.12 MB Notification: Performance of matching and sorting (n=43): time 0.001935/0.09125, allocations: 0.6074 MB / 35.21 MB, free: 0.8906 MB / 14.12 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.0914, allocations: 217.2 kB / 35.42 MB, free: 0.6719 MB / 14.12 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.09176, allocations: 230.6 kB / 35.64 MB, free: 0.5703 MB / 14.12 MB Notification: Performance of collectPreVariables (initialization): time 8.106e-05/0.09185, allocations: 33.89 kB / 35.68 MB, free: 0.5391 MB / 14.12 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.09213, allocations: 338 kB / 36.01 MB, free: 356 kB / 14.12 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.0923, allocations: 146.7 kB / 36.15 MB, free: 272 kB / 14.12 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.09236, allocations: 2.969 kB / 36.15 MB, free: 272 kB / 14.12 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.0925, allocations: 337.8 kB / 36.48 MB, free: 4.703 MB / 18.87 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006253/0.09314, allocations: 263.5 kB / 36.74 MB, free: 4.652 MB / 18.87 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000739/0.0939, allocations: 415 kB / 37.15 MB, free: 4.375 MB / 18.87 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.09484, allocations: 281.5 kB / 37.42 MB, free: 4.293 MB / 18.87 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.09488, allocations: 2.75 kB / 37.42 MB, free: 4.293 MB / 18.87 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002295/0.09718, allocations: 0.7569 MB / 38.18 MB, free: 3.898 MB / 18.87 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.09737, allocations: 86.66 kB / 38.27 MB, free: 3.809 MB / 18.87 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.09741, allocations: 4 kB / 38.27 MB, free: 3.805 MB / 18.87 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.1012, allocations: 412 kB / 38.67 MB, free: 3.504 MB / 18.87 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1018, allocations: 80.22 kB / 38.75 MB, free: 3.441 MB / 18.87 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.1033, allocations: 0.8446 MB / 39.59 MB, free: 2.648 MB / 18.87 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000619/0.1039, allocations: 67.38 kB / 39.66 MB, free: 2.594 MB / 18.87 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.1041, allocations: 42.81 kB / 39.7 MB, free: 2.555 MB / 18.87 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] 'P3'.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: 18 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.'P1'.fireOut[1],'P1'.emptying,$PRE.'P3'.fireIn[1],'P3'.feeding,'P3'.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],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'T1'.activation.arcType[1],'T1'.activation.fed[1],'T2'.activation.arcType[1],'T2'.activation.emptied[1],'T2'.outPlaces[1].enabledByInPlaces,'T1'.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004675/0.1046, allocations: 233.1 kB / 39.93 MB, free: 2.328 MB / 18.87 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1047, allocations: 35.62 kB / 39.96 MB, free: 2.293 MB / 18.87 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.1071, allocations: 0.7215 MB / 40.69 MB, free: 1.691 MB / 18.87 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.81e-05/0.1072, allocations: 11.66 kB / 40.7 MB, free: 1.684 MB / 18.87 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1073, allocations: 0 / 40.7 MB, free: 1.684 MB / 18.87 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.1073, allocations: 0 / 40.7 MB, free: 1.684 MB / 18.87 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003164/0.1104, allocations: 1.223 MB / 41.92 MB, free: 0.6328 MB / 18.87 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.1105, allocations: 0 / 41.92 MB, free: 0.6328 MB / 18.87 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003709/0.1109, allocations: 51.11 kB / 41.97 MB, free: 0.5898 MB / 18.87 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.1125, allocations: 311.4 kB / 42.28 MB, free: 360 kB / 18.87 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001247/0.1126, allocations: 19.33 kB / 42.29 MB, free: 344 kB / 18.87 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.1253, allocations: 0.8587 MB / 43.15 MB, free: 6.148 MB / 18.87 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.1254, allocations: 1.172 kB / 43.15 MB, free: 6.148 MB / 18.87 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.128, allocations: 1.084 MB / 44.24 MB, free: 6.012 MB / 18.87 MB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.1281, allocations: 108.6 kB / 44.34 MB, free: 5.918 MB / 18.87 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.1282, allocations: 20.72 kB / 44.36 MB, free: 5.918 MB / 18.87 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.1287, allocations: 42.8 kB / 44.41 MB, free: 5.918 MB / 18.87 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004084/0.1291, allocations: 116 kB / 44.52 MB, free: 5.918 MB / 18.87 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.856e-05/0.1292, allocations: 33.86 kB / 44.55 MB, free: 5.918 MB / 18.87 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1294, allocations: 149 kB / 44.7 MB, free: 5.844 MB / 18.87 MB Notification: Performance of sort global known variables: time 1.303e-06/0.1294, allocations: 0 / 44.7 MB, free: 5.844 MB / 18.87 MB Notification: Performance of remove unused functions: time 0.0009946/0.1304, allocations: 220.2 kB / 44.91 MB, free: 5.844 MB / 18.87 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 ('P1'.t_,'P2'.t_,'P3'.t_) * Number of discrete variables: 14 ('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],'T2'.activation.weaklyOutputActiveVec[1],'P3'.fireIn[1],'P3'.feeding) * Number of discrete states: 10 ('P3'.fireIn[1],'P2'.fireOut[1],'P2'.fireIn[1],'P1'.fireOut[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T2'.activation.weaklyOutputActiveVec[1],'T2'.activation.weaklyInputActiveVec[1],'T2'.activation.active) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005472/0.131, allocations: 213.7 kB / 45.12 MB, free: 5.75 MB / 18.87 MB Notification: Performance of simCode: created initialization part: time 0.00187/0.1329, allocations: 0.8842 MB / 46.01 MB, free: 5.621 MB / 18.87 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.1329, allocations: 0 / 46.01 MB, free: 5.621 MB / 18.87 MB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.134, allocations: 0.5233 MB / 46.53 MB, free: 5.352 MB / 18.87 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.1344, allocations: 42.42 kB / 46.57 MB, free: 5.344 MB / 18.87 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002599/0.1371, allocations: 1.074 MB / 47.64 MB, free: 4.566 MB / 18.87 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.1377, allocations: 1.035 MB / 48.68 MB, free: 3.645 MB / 18.87 MB Notification: Performance of simCode: alias equations: time 0.0004135/0.1381, allocations: 96.12 kB / 48.77 MB, free: 3.59 MB / 18.87 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.837e-05/0.1382, allocations: 29.45 kB / 48.8 MB, free: 3.562 MB / 18.87 MB Notification: Performance of SimCode: time 1.513e-06/0.1382, allocations: 0 / 48.8 MB, free: 3.562 MB / 18.87 MB Notification: Performance of Templates: time 0.03743/0.1757, allocations: 7.567 MB / 56.37 MB, free: 4.039 MB / 18.87 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)