Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo) Running command: translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005116/0.005116, allocations: 1.375 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.092e-05, allocations: 0 / 23.87 MB, free: 3.93 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003095/0.0003336, allocations: 364 kB / 24.23 MB, free: 3.633 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.001148/0.001489, allocations: 1.623 MB / 25.85 MB, free: 2.008 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.00255, allocations: 0.925 MB / 26.78 MB, free: 1.078 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001722/0.002734, allocations: 14.44 kB / 26.79 MB, free: 1.066 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.002936, allocations: 127 kB / 26.91 MB, free: 0.9414 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005839/0.003527, allocations: 318.8 kB / 27.23 MB, free: 0.6289 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.003648, allocations: 69.72 kB / 27.29 MB, free: 0.5625 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.004118, allocations: 0.705 MB / 28 MB, free: 4.5 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003853/0.004512, allocations: 322.5 kB / 28.31 MB, free: 4.18 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.004762, allocations: 286.4 kB / 28.59 MB, free: 3.898 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002547/0.005024, allocations: 290 kB / 28.88 MB, free: 3.613 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.005093, allocations: 28 kB / 28.9 MB, free: 3.586 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000303/0.005402, allocations: 211.6 kB / 29.11 MB, free: 3.379 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.005547, allocations: 159.2 kB / 29.27 MB, free: 3.223 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.005662, allocations: 141.3 kB / 29.4 MB, free: 3.078 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.00629, allocations: 0.7135 MB / 30.12 MB, free: 2.363 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.006302, allocations: 0 / 30.12 MB, free: 2.363 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.021e-06/0.006308, allocations: 0 / 30.12 MB, free: 2.363 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.006321, allocations: 0 / 30.12 MB, free: 2.363 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001069/0.007394, allocations: 0.9685 MB / 31.09 MB, free: 1.324 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.007437, allocations: 8.297 kB / 31.09 MB, free: 1.316 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.007597, allocations: 103.7 kB / 31.19 MB, free: 1.215 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.008179, allocations: 484 kB / 31.67 MB, free: 0.7031 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.008258, allocations: 82.41 kB / 31.75 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/0.008399, allocations: 119.6 kB / 31.86 MB, free: 0.5078 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006799/0.0152, allocations: 1.475 MB / 33.34 MB, free: 7.066 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.01524, allocations: 176 / 33.34 MB, free: 7.066 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.76e-05/0.01533, allocations: 57.81 kB / 33.4 MB, free: 7.062 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001105/0.01544, allocations: 93.44 kB / 33.49 MB, free: 7.047 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/0.01678, allocations: 1.066 MB / 34.55 MB, free: 6.594 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/0.01939, allocations: 2.889 MB / 37.44 MB, free: 3.746 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007843/0.02019, allocations: 0.7532 MB / 38.2 MB, free: 2.945 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.02067, allocations: 454.1 kB / 38.64 MB, free: 2.5 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004237/0.02111, allocations: 0.8648 MB / 39.5 MB, free: 1.453 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.02113, allocations: 38.92 kB / 39.54 MB, free: 1.406 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.675e-06/0.02114, allocations: 0 / 39.54 MB, free: 1.406 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.007729/0.02888, allocations: 1.674 MB / 41.22 MB, free: 6.227 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.325e-05/0.02897, allocations: 248.6 kB / 41.46 MB, free: 5.977 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.02927, allocations: 352 kB / 41.8 MB, free: 5.871 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.79e-05/0.02933, allocations: 40.95 kB / 41.84 MB, free: 5.84 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.0295, allocations: 396.3 kB / 42.23 MB, free: 5.652 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 9.623e-05/0.0296, allocations: 165.3 kB / 42.39 MB, free: 5.555 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.02964, allocations: 17 kB / 42.41 MB, free: 5.555 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.02971, allocations: 348.6 kB / 42.75 MB, free: 5.242 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.0302, allocations: 380.1 kB / 43.12 MB, free: 5.238 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.03072, allocations: 0.5319 MB / 43.65 MB, free: 4.949 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.03121, allocations: 479 kB / 44.12 MB, free: 4.723 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.03122, allocations: 3.828 kB / 44.12 MB, free: 4.723 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001498/0.03273, allocations: 1.295 MB / 45.42 MB, free: 4.051 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.0328, allocations: 121.1 kB / 45.54 MB, free: 3.914 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.03282, allocations: 4.531 kB / 45.54 MB, free: 3.91 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.03427, allocations: 416.3 kB / 45.95 MB, free: 3.504 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.03451, allocations: 83.83 kB / 46.03 MB, free: 3.422 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006376/0.03515, allocations: 0.892 MB / 46.92 MB, free: 2.512 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.03545, allocations: 107.2 kB / 47.03 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.306e-05/0.03552, allocations: 39.98 kB / 47.06 MB, free: 2.367 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004033/0.03593, allocations: 467.5 kB / 47.52 MB, free: 1.887 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.036, allocations: 47.31 kB / 47.57 MB, free: 1.844 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.03755, allocations: 1.266 MB / 48.83 MB, free: 0.5664 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.661e-05/0.03759, allocations: 8 kB / 48.84 MB, free: 0.5586 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0376, allocations: 5.312 kB / 48.85 MB, free: 0.5547 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.03761, allocations: 3.984 kB / 48.85 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00772/0.04533, allocations: 2.004 MB / 50.85 MB, free: 5.059 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.04536, allocations: 2.844 kB / 50.86 MB, free: 5.059 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.04554, allocations: 43.69 kB / 50.9 MB, free: 5.059 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009435/0.0465, allocations: 394.4 kB / 51.28 MB, free: 5.051 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.04655, allocations: 27.72 kB / 51.31 MB, free: 5.051 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006465/0.0472, allocations: 0.9231 MB / 52.23 MB, free: 4.43 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.04721, allocations: 0.8125 kB / 52.24 MB, free: 4.43 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.04906, allocations: 1.731 MB / 53.97 MB, free: 3.176 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.66e-05/0.04912, allocations: 120.9 kB / 54.09 MB, free: 3.066 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-05/0.0492, allocations: 28.97 kB / 54.11 MB, free: 3.039 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.04944, allocations: 58.2 kB / 54.17 MB, free: 2.988 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.04965, allocations: 141 kB / 54.31 MB, free: 2.852 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.04971, allocations: 39.2 kB / 54.35 MB, free: 2.82 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001415/0.04985, allocations: 221.9 kB / 54.56 MB, free: 2.598 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04986, allocations: 0 / 54.56 MB, free: 2.598 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004958/0.05036, allocations: 271.4 kB / 54.83 MB, free: 2.375 MB / 18.57 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: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002498/0.05062, allocations: 198.5 kB / 55.02 MB, free: 2.184 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.05184, allocations: 1.19 MB / 56.21 MB, free: 0.9844 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.05185, allocations: 0 / 56.21 MB, free: 0.9844 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006207/0.05248, allocations: 0.6922 MB / 56.9 MB, free: 264 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005291/0.05778, allocations: 63.84 kB / 56.97 MB, free: 5.359 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.0598, allocations: 2.021 MB / 58.99 MB, free: 4.559 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003501/0.06017, allocations: 1.071 MB / 60.06 MB, free: 3.863 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.06027, allocations: 55.53 kB / 60.11 MB, free: 3.863 MB / 18.57 MB Notification: Performance of SimCode: time 4.11e-07/0.06028, allocations: 0 / 60.11 MB, free: 3.863 MB / 18.57 MB Notification: Performance of Templates: time 0.01827/0.07856, allocations: 13.81 MB / 73.92 MB, free: 2.688 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)