Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.01066/0.01066, allocations: 1.337 MB / 8.621 MB, free: 1.66 MB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 1.046e-05/1.062e-05, allocations: 0 / 12.82 MB, free: 1.148 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.001053/0.001096, allocations: 362 kB / 13.18 MB, free: 0.8047 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.01069/0.01181, allocations: 3.286 MB / 16.46 MB, free: 456 kB / 7.832 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001712/0.01205, allocations: 47.98 kB / 16.51 MB, free: 404 kB / 7.832 MB Notification: Performance of FrontEnd: time 0.07191/0.08398, allocations: 10.43 MB / 26.94 MB, free: 240 kB / 10.45 MB Notification: Performance of Transformations before backend: time 5.923e-05/0.08411, allocations: 19.52 kB / 26.96 MB, free: 240 kB / 10.45 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.002423/0.08655, allocations: 0.8648 MB / 27.82 MB, free: 3.148 MB / 13.95 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.08663, allocations: 10.23 kB / 27.83 MB, free: 3.148 MB / 13.95 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004687/0.08711, allocations: 84.23 kB / 27.91 MB, free: 3.109 MB / 13.95 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.08881, allocations: 460.7 kB / 28.36 MB, free: 2.859 MB / 13.95 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.08897, allocations: 31.28 kB / 28.39 MB, free: 2.859 MB / 13.95 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.0893, allocations: 51.94 kB / 28.44 MB, free: 2.859 MB / 13.95 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003182/0.0925, allocations: 0.7828 MB / 29.23 MB, free: 2.602 MB / 13.95 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004168/0.09673, allocations: 1.05 MB / 30.28 MB, free: 1.715 MB / 13.95 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.09683, allocations: 0 / 30.28 MB, free: 1.715 MB / 13.95 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.09701, allocations: 4 kB / 30.28 MB, free: 1.711 MB / 13.95 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.09723, allocations: 60.95 kB / 30.34 MB, free: 1.664 MB / 13.95 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00734/0.1046, allocations: 1.883 MB / 32.22 MB, free: 116 kB / 13.95 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008938/0.1136, allocations: 0.5508 MB / 32.77 MB, free: 2.973 MB / 13.95 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/0.1147, allocations: 330 kB / 33.1 MB, free: 2.965 MB / 13.95 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/0.1162, allocations: 1.031 MB / 34.13 MB, free: 1.84 MB / 13.95 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.1164, allocations: 44.5 kB / 34.17 MB, free: 1.801 MB / 13.95 MB Notification: Performance of pre-optimization done (n=42): time 5.891e-06/0.1164, allocations: 3.062 kB / 34.17 MB, free: 1.801 MB / 13.95 MB Notification: Performance of matching and sorting (n=42): time 0.003188/0.1196, allocations: 0.5965 MB / 34.77 MB, free: 1.758 MB / 13.95 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.1198, allocations: 214 kB / 34.98 MB, free: 1.539 MB / 13.95 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005208/0.1204, allocations: 242.5 kB / 35.22 MB, free: 1.441 MB / 13.95 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.1206, allocations: 31.48 kB / 35.25 MB, free: 1.41 MB / 13.95 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.121, allocations: 333.8 kB / 35.57 MB, free: 1.266 MB / 13.95 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/0.1213, allocations: 135.7 kB / 35.7 MB, free: 1.191 MB / 13.95 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.547e-05/0.1214, allocations: 2.375 kB / 35.71 MB, free: 1.191 MB / 13.95 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.1216, allocations: 342.2 kB / 36.04 MB, free: 0.8789 MB / 13.95 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.1226, allocations: 266.9 kB / 36.3 MB, free: 0.8789 MB / 13.95 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.1238, allocations: 432.8 kB / 36.72 MB, free: 0.6875 MB / 13.95 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.1254, allocations: 289.4 kB / 37.01 MB, free: 0.6094 MB / 13.95 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.1255, allocations: 7.281 kB / 37.01 MB, free: 0.6055 MB / 13.95 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003585/0.1291, allocations: 0.7709 MB / 37.78 MB, free: 384 kB / 13.95 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.1292, allocations: 9.844 kB / 37.79 MB, free: 384 kB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.1292, allocations: 2.812 kB / 37.8 MB, free: 384 kB / 13.95 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005297/0.1345, allocations: 431.5 kB / 38.22 MB, free: 176 kB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.1353, allocations: 85.33 kB / 38.3 MB, free: 104 kB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009828/0.1451, allocations: 0.8499 MB / 39.15 MB, free: 1.938 MB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.1461, allocations: 71.5 kB / 39.22 MB, free: 1.938 MB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/0.1463, allocations: 38.5 kB / 39.26 MB, free: 1.938 MB / 13.95 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] P1.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] P2.prelimSpeedOut[1]:VARIABLE(protected = true ) "preliminary speed of output transitions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,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],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.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.0005946/0.1469, allocations: 234.7 kB / 39.49 MB, free: 1.766 MB / 13.95 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.1472, allocations: 35.84 kB / 39.52 MB, free: 1.766 MB / 13.95 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003673/0.1509, allocations: 0.7368 MB / 40.26 MB, free: 1.707 MB / 13.95 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.177e-05/0.151, allocations: 9.906 kB / 40.27 MB, free: 1.707 MB / 13.95 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.151, allocations: 0 / 40.27 MB, free: 1.707 MB / 13.95 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.151, allocations: 0 / 40.27 MB, free: 1.707 MB / 13.95 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004602/0.1557, allocations: 1.228 MB / 41.5 MB, free: 1.434 MB / 13.95 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.1557, allocations: 1.969 kB / 41.5 MB, free: 1.434 MB / 13.95 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004861/0.1562, allocations: 53.22 kB / 41.55 MB, free: 1.434 MB / 13.95 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.1586, allocations: 321.9 kB / 41.87 MB, free: 1.418 MB / 13.95 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/0.1589, allocations: 20.22 kB / 41.89 MB, free: 1.418 MB / 13.95 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.1609, allocations: 0.8851 MB / 42.77 MB, free: 0.9023 MB / 13.95 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.107e-06/0.161, allocations: 4 kB / 42.77 MB, free: 0.8984 MB / 13.95 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004273/0.1653, allocations: 1.1 MB / 43.87 MB, free: 236 kB / 13.95 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.1655, allocations: 105.4 kB / 43.98 MB, free: 132 kB / 13.95 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.1657, allocations: 18.91 kB / 44 MB, free: 116 kB / 13.95 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.1668, allocations: 56.02 kB / 44.05 MB, free: 116 kB / 13.95 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/0.1679, allocations: 146.6 kB / 44.19 MB, free: 116 kB / 13.95 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003381/0.1683, allocations: 44.08 kB / 44.24 MB, free: 116 kB / 13.95 MB Notification: Performance of sort global known variables: time 0.008177/0.1765, allocations: 178.1 kB / 44.41 MB, free: 2.523 MB / 13.95 MB Notification: Performance of remove unused functions: time 0.00165/0.1782, allocations: 213.4 kB / 44.62 MB, free: 2.523 MB / 13.95 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 (29): * Single equations (assignments): 26 * 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.0008568/0.1791, allocations: 210.2 kB / 44.82 MB, free: 2.434 MB / 13.95 MB Notification: Performance of simCode: created initialization part: time 0.002946/0.1821, allocations: 0.823 MB / 45.65 MB, free: 2.367 MB / 13.95 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.1821, allocations: 1.906 kB / 45.65 MB, free: 2.367 MB / 13.95 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.1838, allocations: 492 kB / 46.13 MB, free: 2.297 MB / 13.95 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.1845, allocations: 40.23 kB / 46.17 MB, free: 2.297 MB / 13.95 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.1889, allocations: 1.099 MB / 47.27 MB, free: 2.051 MB / 13.95 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/0.1902, allocations: 1.066 MB / 48.33 MB, free: 1.348 MB / 13.95 MB Notification: Performance of SimCode: time 1.683e-06/0.1902, allocations: 0 / 48.33 MB, free: 1.348 MB / 13.95 MB Notification: Performance of Templates: time 0.07215/0.2624, allocations: 8.06 MB / 56.39 MB, free: 2.871 MB / 18.6 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)