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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02113/0.02113, allocations: 1.358 MB / 16.3 MB, free: 5.305 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.562e-05/1.561e-05, allocations: 0 / 23.22 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006636/0.0007059, allocations: 360 kB / 23.57 MB, free: 3.875 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004986/0.005706, allocations: 4.118 MB / 27.69 MB, free: 4.559 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001599/0.00591, allocations: 47.98 kB / 27.73 MB, free: 4.512 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.05275/0.05867, allocations: 10.82 MB / 38.55 MB, free: 2.754 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.244e-06/0.05872, allocations: 0 / 38.55 MB, free: 2.754 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.834e-05/0.05877, allocations: 20.48 kB / 38.57 MB, free: 2.734 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.00165/0.06043, allocations: 0.8862 MB / 39.46 MB, free: 1.785 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.06049, allocations: 12.23 kB / 39.47 MB, free: 1.773 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.06072, allocations: 76.02 kB / 39.55 MB, free: 1.699 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00088/0.06162, allocations: 450 kB / 39.99 MB, free: 1.219 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.674e-05/0.0617, allocations: 70.33 kB / 40.05 MB, free: 1.148 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.06189, allocations: 100.2 kB / 40.15 MB, free: 1.051 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.07814, allocations: 1.177 MB / 41.33 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.07822, allocations: 0 / 41.33 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/0.07836, allocations: 41.81 kB / 41.37 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001562/0.07853, allocations: 63.33 kB / 41.43 MB, free: 1.648 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.08073, allocations: 0.8243 MB / 42.26 MB, free: 1.641 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.08469, allocations: 2.04 MB / 44.3 MB, free: 1.07 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.08604, allocations: 0.6323 MB / 44.93 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001115/0.08718, allocations: 1.031 MB / 45.96 MB, free: 5.934 MB / 24.78 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.08723, allocations: 46.27 kB / 46.01 MB, free: 5.887 MB / 24.78 MB Notification: Performance of pre-optimization done (n=42): time 3.426e-06/0.08724, allocations: 0 / 46.01 MB, free: 5.887 MB / 24.78 MB Notification: Performance of matching and sorting (n=42): time 0.004744/0.092, allocations: 1.405 MB / 47.41 MB, free: 5.273 MB / 24.78 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.09219, allocations: 212.9 kB / 47.62 MB, free: 5.043 MB / 24.78 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.0926, allocations: 291.2 kB / 47.9 MB, free: 4.879 MB / 24.78 MB Notification: Performance of collectPreVariables (initialization): time 7.123e-05/0.09268, allocations: 32.89 kB / 47.94 MB, free: 4.844 MB / 24.78 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/0.09298, allocations: 348.1 kB / 48.28 MB, free: 4.598 MB / 24.78 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.09317, allocations: 140.4 kB / 48.41 MB, free: 4.5 MB / 24.78 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.773e-05/0.09327, allocations: 17.62 kB / 48.43 MB, free: 4.492 MB / 24.78 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.09345, allocations: 346.2 kB / 48.77 MB, free: 4.164 MB / 24.78 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/0.09425, allocations: 294.6 kB / 49.06 MB, free: 4.078 MB / 24.78 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009443/0.09521, allocations: 461.3 kB / 49.51 MB, free: 3.789 MB / 24.78 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008867/0.09611, allocations: 368.5 kB / 49.87 MB, free: 3.457 MB / 24.78 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.09614, allocations: 0 / 49.87 MB, free: 3.457 MB / 24.78 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002501/0.09865, allocations: 0.9182 MB / 50.78 MB, free: 2.641 MB / 24.78 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.09879, allocations: 86.62 kB / 50.87 MB, free: 2.551 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.09881, allocations: 4 kB / 50.87 MB, free: 2.547 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003791/0.1026, allocations: 456.7 kB / 51.32 MB, free: 2.211 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.1031, allocations: 68.84 kB / 51.39 MB, free: 2.152 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1043, allocations: 0.7922 MB / 52.18 MB, free: 1.398 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000539/0.1048, allocations: 76.22 kB / 52.25 MB, free: 1.332 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.1049, allocations: 46.56 kB / 52.3 MB, free: 1.293 MB / 24.78 MB 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 () * Number of clocked 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.0007594/0.1057, allocations: 390.5 kB / 52.68 MB, free: 0.9297 MB / 24.78 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.1059, allocations: 43.58 kB / 52.72 MB, free: 0.8867 MB / 24.78 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/0.1083, allocations: 0.8523 MB / 53.57 MB, free: 144 kB / 24.78 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-05/0.1084, allocations: 15.56 kB / 53.59 MB, free: 132 kB / 24.78 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1084, allocations: 0 / 53.59 MB, free: 132 kB / 24.78 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1084, allocations: 0 / 53.59 MB, free: 132 kB / 24.78 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.1265, allocations: 1.492 MB / 55.08 MB, free: 7.062 MB / 24.78 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.1266, allocations: 0 / 55.08 MB, free: 7.062 MB / 24.78 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.1269, allocations: 48.72 kB / 55.13 MB, free: 7.062 MB / 24.78 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.1287, allocations: 355.5 kB / 55.48 MB, free: 7.055 MB / 24.78 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.953e-05/0.1288, allocations: 22.22 kB / 55.5 MB, free: 7.055 MB / 24.78 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001012/0.1299, allocations: 0.8083 MB / 56.31 MB, free: 6.539 MB / 24.78 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1299, allocations: 6.844 kB / 56.31 MB, free: 6.539 MB / 24.78 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.1327, allocations: 1.249 MB / 57.56 MB, free: 6.328 MB / 24.78 MB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-05/0.1328, allocations: 106.1 kB / 57.66 MB, free: 6.234 MB / 24.78 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1329, allocations: 28.64 kB / 57.69 MB, free: 6.234 MB / 24.78 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004243/0.1333, allocations: 40.91 kB / 57.73 MB, free: 6.234 MB / 24.78 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003177/0.1337, allocations: 117.5 kB / 57.85 MB, free: 6.234 MB / 24.78 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.1338, allocations: 40.81 kB / 57.89 MB, free: 6.234 MB / 24.78 MB Notification: Performance of sorting global known variables: time 0.0002372/0.134, allocations: 190.4 kB / 58.07 MB, free: 6.156 MB / 24.78 MB Notification: Performance of sort global known variables: time 4.41e-07/0.134, allocations: 0 / 58.07 MB, free: 6.156 MB / 24.78 MB Notification: Performance of remove unused functions: time 0.0008707/0.1349, allocations: 233.4 kB / 58.3 MB, free: 6.156 MB / 24.78 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) * Number of clocked states: 0 () * 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.0004548/0.1354, allocations: 227 kB / 58.52 MB, free: 6.066 MB / 24.78 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.1375, allocations: 0.9594 MB / 59.48 MB, free: 5.664 MB / 24.78 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.1375, allocations: 7.094 kB / 59.49 MB, free: 5.66 MB / 24.78 MB Notification: Performance of simCode: created simulation system equations: time 0.001059/0.1386, allocations: 0.5504 MB / 60.04 MB, free: 5.156 MB / 24.78 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.139, allocations: 51.83 kB / 60.09 MB, free: 5.121 MB / 24.78 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1419, allocations: 1.56 MB / 61.65 MB, free: 3.719 MB / 24.78 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000542/0.1425, allocations: 1.025 MB / 62.68 MB, free: 2.797 MB / 24.78 MB Notification: Performance of simCode: alias equations: time 0.000382/0.1428, allocations: 95.86 kB / 62.77 MB, free: 2.746 MB / 24.78 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.143, allocations: 27.44 kB / 62.8 MB, free: 2.723 MB / 24.78 MB Notification: Performance of SimCode: time 9.61e-07/0.143, allocations: 2.438 kB / 62.8 MB, free: 2.723 MB / 24.78 MB Notification: Performance of Templates: time 0.03591/0.1789, allocations: 7.767 MB / 70.57 MB, free: 4.332 MB / 24.78 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)