Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") translateModel(ConPNlib.Examples.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.007566/0.007566, allocations: 1.366 MB / 16.61 MB, free: 5.148 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.785e-05, allocations: 0 / 23.66 MB, free: 3.773 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008016/0.0008404, allocations: 364.3 kB / 24.01 MB, free: 3.457 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.000993/0.001846, allocations: 0.749 MB / 24.76 MB, free: 2.711 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003018, allocations: 0.5981 MB / 25.36 MB, free: 2.109 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.00316, allocations: 4 kB / 25.37 MB, free: 2.105 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002237/0.003394, allocations: 47.66 kB / 25.41 MB, free: 2.059 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006357/0.004041, allocations: 182.7 kB / 25.59 MB, free: 1.883 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.889e-05/0.004156, allocations: 31.95 kB / 25.62 MB, free: 1.852 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002646/0.004432, allocations: 211.4 kB / 25.83 MB, free: 1.645 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.004637, allocations: 83.61 kB / 25.91 MB, free: 1.562 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.004763, allocations: 83.52 kB / 25.99 MB, free: 1.48 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.00493, allocations: 87.36 kB / 26.08 MB, free: 1.395 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.149e-05/0.004973, allocations: 8 kB / 26.08 MB, free: 1.387 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.005238, allocations: 139.8 kB / 26.22 MB, free: 1.25 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.005321, allocations: 31.91 kB / 26.25 MB, free: 1.219 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 9.145e-05/0.005422, allocations: 83.41 kB / 26.33 MB, free: 1.137 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.00582, allocations: 283.2 kB / 26.61 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.005836, allocations: 4 kB / 26.61 MB, free: 0.8555 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.683e-06/0.005845, allocations: 0 / 26.61 MB, free: 0.8555 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.005859, allocations: 0 / 26.61 MB, free: 0.8555 MB / 13.93 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.000659/0.006526, allocations: 488.6 kB / 27.09 MB, free: 332 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.006583, allocations: 8.969 kB / 27.1 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.915e-05/0.006682, allocations: 28.66 kB / 27.13 MB, free: 296 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.006977, allocations: 232.1 kB / 27.35 MB, free: 24 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.007022, allocations: 16.92 kB / 27.37 MB, free: 8 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.288e-05/0.007114, allocations: 28.36 kB / 27.4 MB, free: 4.621 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007362/0.00786, allocations: 348.7 kB / 27.74 MB, free: 4.27 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.007888, allocations: 192 / 27.74 MB, free: 4.27 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/0.007944, allocations: 13.72 kB / 27.75 MB, free: 4.258 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/0.008008, allocations: 25.98 kB / 27.78 MB, free: 4.234 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005422/0.008559, allocations: 229.5 kB / 28 MB, free: 4.012 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.01017, allocations: 0.9105 MB / 28.91 MB, free: 3.004 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.01054, allocations: 142.4 kB / 29.05 MB, free: 2.855 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.01077, allocations: 92.8 kB / 29.14 MB, free: 2.762 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/0.01123, allocations: 429.5 kB / 29.56 MB, free: 2.25 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.01127, allocations: 30.56 kB / 29.59 MB, free: 2.211 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.01128, allocations: 3.938 kB / 29.6 MB, free: 2.207 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0008124/0.01211, allocations: 307.7 kB / 29.9 MB, free: 1.895 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.608e-05/0.0122, allocations: 110.8 kB / 30 MB, free: 1.762 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.01238, allocations: 158.7 kB / 30.16 MB, free: 1.594 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.01243, allocations: 29.7 kB / 30.19 MB, free: 1.559 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01256, allocations: 144 kB / 30.33 MB, free: 1.414 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.01262, allocations: 39.44 kB / 30.37 MB, free: 1.375 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.01269, allocations: 37.7 kB / 30.4 MB, free: 1.332 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.01284, allocations: 326.8 kB / 30.72 MB, free: 1.004 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.01305, allocations: 72.3 kB / 30.79 MB, free: 0.9336 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.0133, allocations: 125.7 kB / 30.92 MB, free: 0.793 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.01375, allocations: 239.5 kB / 31.15 MB, free: 0.5352 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.01377, allocations: 3.938 kB / 31.16 MB, free: 0.5312 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006481/0.01442, allocations: 299 kB / 31.45 MB, free: 232 kB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.549e-05/0.01449, allocations: 33.7 kB / 31.48 MB, free: 192 kB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01451, allocations: 0 / 31.48 MB, free: 192 kB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.01454, allocations: 8.109 kB / 31.49 MB, free: 184 kB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.01472, allocations: 39.84 kB / 31.53 MB, free: 144 kB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01474, allocations: 4 kB / 31.53 MB, free: 140 kB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.01488, allocations: 23.97 kB / 31.55 MB, free: 116 kB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.01492, allocations: 11.98 kB / 31.57 MB, free: 104 kB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 (P1.feeding,$PRE.P1.fireIn[1],T1.activation.emptied[1],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00897/0.0239, allocations: 186.6 kB / 31.75 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.902e-05/0.02399, allocations: 13.72 kB / 31.76 MB, free: 7.223 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007507/0.02475, allocations: 295.6 kB / 32.05 MB, free: 7.152 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.02479, allocations: 3.625 kB / 32.05 MB, free: 7.152 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.0248, allocations: 0 / 32.05 MB, free: 7.152 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.02481, allocations: 7.766 kB / 32.06 MB, free: 7.152 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000883/0.0257, allocations: 0.6116 MB / 32.67 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.02572, allocations: 1.312 kB / 32.67 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.02585, allocations: 23.53 kB / 32.7 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.02587, allocations: 0.9844 kB / 32.7 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.02589, allocations: 16.38 kB / 32.71 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.0259, allocations: 0 / 32.71 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.02591, allocations: 0 / 32.71 MB, free: 6.828 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.02653, allocations: 453.8 kB / 33.16 MB, free: 6.668 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.879e-05/0.02657, allocations: 91.8 kB / 33.25 MB, free: 6.57 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.02662, allocations: 9.188 kB / 33.26 MB, free: 6.57 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02675, allocations: 12.86 kB / 33.27 MB, free: 6.57 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.02687, allocations: 34.33 kB / 33.3 MB, free: 6.57 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.0269, allocations: 8.75 kB / 33.31 MB, free: 6.57 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.995e-05/0.02697, allocations: 109.5 kB / 33.42 MB, free: 6.492 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.5e-07/0.02698, allocations: 0 / 33.42 MB, free: 6.492 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004649/0.02745, allocations: 83.31 kB / 33.5 MB, free: 6.492 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P1.t_) * Number of discrete variables: 4 (T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.feeding) * Number of discrete states: 3 (T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P1.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002259/0.02769, allocations: 153.6 kB / 33.65 MB, free: 6.406 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0005216/0.02822, allocations: 260.3 kB / 33.9 MB, free: 6.34 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.02824, allocations: 0 / 33.9 MB, free: 6.34 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002315/0.02848, allocations: 168.2 kB / 34.07 MB, free: 6.273 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.02891, allocations: 25.67 kB / 34.09 MB, free: 6.273 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/0.02988, allocations: 0.5194 MB / 34.61 MB, free: 5.773 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.03012, allocations: 0.7595 MB / 35.37 MB, free: 4.992 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.03032, allocations: 70.64 kB / 35.44 MB, free: 4.926 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.03041, allocations: 39.12 kB / 35.48 MB, free: 4.895 MB / 18.57 MB Notification: Performance of SimCode: time 5.41e-07/0.03042, allocations: 0 / 35.48 MB, free: 4.895 MB / 18.57 MB Notification: Performance of Templates: time 0.006078/0.03651, allocations: 2.36 MB / 37.84 MB, free: 2.578 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test3.makefile (rm -f ConPNlib_ConPNlib.Examples.Test3.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test3.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test3.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test3.sim & ./ConPNlib_ConPNlib.Examples.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test3.pipe 2>&1)