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.01334/0.01334, allocations: 1.338 MB / 13.9 MB, free: 1.406 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.841e-05, allocations: 0 / 19.23 MB, free: 2.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.000842/0.0008923, allocations: 363.8 kB / 19.59 MB, free: 1.781 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.02092/0.02184, allocations: 4.021 MB / 23.61 MB, free: 2.809 MB / 13.93 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.02208, allocations: 49.05 kB / 23.66 MB, free: 2.789 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 0.07474/0.09684, allocations: 10.75 MB / 34.4 MB, free: 2.141 MB / 18.57 MB Notification: Performance of FrontEnd: time 3.376e-06/0.0969, allocations: 3.469 kB / 34.41 MB, free: 2.141 MB / 18.57 MB Notification: Performance of Transformations before backend: time 5.525e-05/0.09697, allocations: 11.84 kB / 34.42 MB, free: 2.141 MB / 18.57 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.002339/0.09932, allocations: 0.8603 MB / 35.28 MB, free: 1.562 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.09941, allocations: 8.25 kB / 35.29 MB, free: 1.562 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.09994, allocations: 87.58 kB / 35.37 MB, free: 1.523 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.1016, allocations: 457.1 kB / 35.82 MB, free: 1.289 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.1018, allocations: 66.88 kB / 35.89 MB, free: 1.285 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003695/0.1022, allocations: 88.88 kB / 35.97 MB, free: 1.285 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004146/0.1064, allocations: 1.149 MB / 37.12 MB, free: 1.176 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.28e-05/0.1065, allocations: 0 / 37.12 MB, free: 1.176 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/0.1067, allocations: 40.62 kB / 37.16 MB, free: 1.176 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/0.1069, allocations: 58.95 kB / 37.22 MB, free: 1.168 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003132/0.1101, allocations: 0.7769 MB / 37.99 MB, free: 1.031 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02672/0.1368, allocations: 2.04 MB / 40.03 MB, free: 1.102 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.1385, allocations: 0.5012 MB / 40.54 MB, free: 0.9805 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.1396, allocations: 340.1 kB / 40.87 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/0.1414, allocations: 1.027 MB / 41.89 MB, free: 6.059 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/0.1415, allocations: 52.98 kB / 41.95 MB, free: 6.02 MB / 24.79 MB Notification: Performance of pre-optimization done (n=43): time 5.992e-06/0.1415, allocations: 0 / 41.95 MB, free: 6.02 MB / 24.79 MB Notification: Performance of matching and sorting (n=43): time 0.002791/0.1443, allocations: 0.677 MB / 42.62 MB, free: 5.914 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002436/0.1446, allocations: 214.4 kB / 42.83 MB, free: 5.695 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006551/0.1453, allocations: 284.2 kB / 43.11 MB, free: 5.59 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.1455, allocations: 43.75 kB / 43.15 MB, free: 5.559 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004383/0.1459, allocations: 337.3 kB / 43.48 MB, free: 5.383 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003085/0.1463, allocations: 140.4 kB / 43.62 MB, free: 5.309 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.577e-05/0.1464, allocations: 16.03 kB / 43.64 MB, free: 5.309 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1466, allocations: 348.3 kB / 43.98 MB, free: 4.996 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.1476, allocations: 270 kB / 44.24 MB, free: 4.992 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001206/0.1489, allocations: 432.7 kB / 44.66 MB, free: 4.816 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.15, allocations: 355.1 kB / 45.01 MB, free: 4.75 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.1501, allocations: 3.219 kB / 45.01 MB, free: 4.75 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002929/0.153, allocations: 0.8743 MB / 45.89 MB, free: 4.621 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001712/0.1532, allocations: 89.91 kB / 45.97 MB, free: 4.559 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.1533, allocations: 3.031 kB / 45.98 MB, free: 4.559 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/0.1585, allocations: 453.4 kB / 46.42 MB, free: 4.531 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.1592, allocations: 74.09 kB / 46.49 MB, free: 4.531 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.1609, allocations: 0.7927 MB / 47.28 MB, free: 3.938 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009175/0.1619, allocations: 85.42 kB / 47.37 MB, free: 3.902 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/0.1621, allocations: 37.67 kB / 47.4 MB, free: 3.898 MB / 24.79 MB 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.0005247/0.1626, allocations: 255.2 kB / 47.65 MB, free: 3.688 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.1629, allocations: 41.12 kB / 47.69 MB, free: 3.664 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.1663, allocations: 0.8152 MB / 48.51 MB, free: 2.953 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.565e-05/0.1664, allocations: 9.688 kB / 48.52 MB, free: 2.945 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1664, allocations: 0 / 48.52 MB, free: 2.945 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.1664, allocations: 1.641 kB / 48.52 MB, free: 2.945 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00474/0.1712, allocations: 1.458 MB / 49.98 MB, free: 1.66 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.1713, allocations: 0 / 49.98 MB, free: 1.66 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005267/0.1718, allocations: 48.78 kB / 50.03 MB, free: 1.621 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002715/0.1746, allocations: 347 kB / 50.37 MB, free: 1.359 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001851/0.1748, allocations: 22.66 kB / 50.39 MB, free: 1.344 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.1765, allocations: 0.8146 MB / 51.2 MB, free: 0.5664 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.1766, allocations: 0 / 51.2 MB, free: 0.5664 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02561/0.2022, allocations: 1.228 MB / 52.43 MB, free: 6.953 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.2024, allocations: 112.4 kB / 52.54 MB, free: 6.859 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.2026, allocations: 25.09 kB / 52.56 MB, free: 6.859 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/0.2033, allocations: 49.41 kB / 52.61 MB, free: 6.859 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004733/0.2038, allocations: 122.1 kB / 52.73 MB, free: 6.859 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.2039, allocations: 35.78 kB / 52.77 MB, free: 6.859 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0003642/0.2043, allocations: 192.7 kB / 52.95 MB, free: 6.777 MB / 24.79 MB Notification: Performance of sort global known variables: time 7.32e-07/0.2043, allocations: 0 / 52.95 MB, free: 6.777 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.001429/0.2058, allocations: 234.8 kB / 53.18 MB, free: 6.777 MB / 24.79 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.0006692/0.2064, allocations: 222.4 kB / 53.4 MB, free: 6.691 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.002804/0.2093, allocations: 0.9151 MB / 54.32 MB, free: 6.566 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.2093, allocations: 0 / 54.32 MB, free: 6.566 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.2108, allocations: 0.5427 MB / 54.86 MB, free: 6.434 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.2114, allocations: 56.78 kB / 54.91 MB, free: 6.434 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.215, allocations: 1.104 MB / 56.02 MB, free: 6.184 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000811/0.2159, allocations: 1.032 MB / 57.05 MB, free: 5.484 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0005917/0.2165, allocations: 98.45 kB / 57.15 MB, free: 5.484 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.2166, allocations: 30.03 kB / 57.18 MB, free: 5.48 MB / 24.79 MB Notification: Performance of SimCode: time 1.482e-06/0.2167, allocations: 2.781 kB / 57.18 MB, free: 5.48 MB / 24.79 MB Notification: Performance of Templates: time 0.05142/0.2681, allocations: 7.847 MB / 65.03 MB, free: 5.656 MB / 24.79 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)