Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009164/0.009164, allocations: 1.365 MB / 17.26 MB, free: 4.43 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.191e-05/1.192e-05, allocations: 0 / 24.31 MB, free: 2.852 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005385/0.0005744, allocations: 362 kB / 24.66 MB, free: 2.543 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001783/0.002371, allocations: 1.55 MB / 26.21 MB, free: 0.9922 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00182/0.004208, allocations: 0.9066 MB / 27.12 MB, free: 92 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.004473, allocations: 7.938 kB / 27.13 MB, free: 84 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0004217/0.004911, allocations: 111.2 kB / 27.24 MB, free: 4.617 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.006099, allocations: 310.9 kB / 27.54 MB, free: 4.312 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002415/0.006361, allocations: 62.88 kB / 27.6 MB, free: 4.254 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.007255, allocations: 0.5919 MB / 28.19 MB, free: 3.66 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005294/0.007836, allocations: 288.8 kB / 28.48 MB, free: 3.359 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002984/0.008155, allocations: 226.6 kB / 28.7 MB, free: 3.137 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003774/0.008549, allocations: 254.2 kB / 28.95 MB, free: 2.887 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.00864, allocations: 20 kB / 28.97 MB, free: 2.867 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005316/0.009187, allocations: 227.6 kB / 29.19 MB, free: 2.645 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.009402, allocations: 151.3 kB / 29.34 MB, free: 2.496 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.009707, allocations: 258.1 kB / 29.59 MB, free: 2.242 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.01063, allocations: 0.6074 MB / 30.19 MB, free: 1.637 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.01065, allocations: 0 / 30.19 MB, free: 1.637 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01066, allocations: 0 / 30.19 MB, free: 1.637 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.01068, allocations: 0 / 30.19 MB, free: 1.637 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.001379/0.01206, allocations: 0.842 MB / 31.04 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.01212, allocations: 10.09 kB / 31.05 MB, free: 0.7266 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002072/0.01234, allocations: 84.08 kB / 31.13 MB, free: 0.6445 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.01317, allocations: 431.8 kB / 31.55 MB, free: 188 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/0.01328, allocations: 66.36 kB / 31.61 MB, free: 120 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.01347, allocations: 88.36 kB / 31.7 MB, free: 32 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009676/0.02316, allocations: 1.209 MB / 32.91 MB, free: 7.383 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.02321, allocations: 9.469 kB / 32.92 MB, free: 7.383 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.02332, allocations: 35.66 kB / 32.95 MB, free: 7.375 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/0.02349, allocations: 80.19 kB / 33.03 MB, free: 7.355 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001935/0.02544, allocations: 0.8659 MB / 33.9 MB, free: 6.828 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003732/0.02919, allocations: 2.57 MB / 36.47 MB, free: 4.148 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.03035, allocations: 0.635 MB / 37.1 MB, free: 3.465 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.03103, allocations: 349.7 kB / 37.45 MB, free: 3.121 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004501/0.0315, allocations: 0.5996 MB / 38.04 MB, free: 2.395 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.03154, allocations: 34.86 kB / 38.08 MB, free: 2.352 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 5.74e-06/0.03156, allocations: 0 / 38.08 MB, free: 2.352 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.002258/0.03382, allocations: 1.005 MB / 39.08 MB, free: 1.336 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.03392, allocations: 208.2 kB / 39.29 MB, free: 1.09 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.03431, allocations: 330.2 kB / 39.61 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 5.623e-05/0.03438, allocations: 38.27 kB / 39.65 MB, free: 0.7148 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.03462, allocations: 343.6 kB / 39.98 MB, free: 396 kB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.03476, allocations: 135.4 kB / 40.11 MB, free: 264 kB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.0349, allocations: 85.66 kB / 40.2 MB, free: 172 kB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.00778/0.04269, allocations: 346.6 kB / 40.54 MB, free: 5.93 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008098/0.04352, allocations: 299.6 kB / 40.83 MB, free: 5.93 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008106/0.04435, allocations: 457.1 kB / 41.28 MB, free: 5.766 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.04575, allocations: 0.7683 MB / 42.04 MB, free: 5.5 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.04577, allocations: 0 / 42.04 MB, free: 5.5 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002063/0.04784, allocations: 0.9832 MB / 43.03 MB, free: 5.207 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 8.353e-05/0.04794, allocations: 86.62 kB / 43.11 MB, free: 5.137 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.04797, allocations: 3.438 kB / 43.12 MB, free: 5.137 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.04801, allocations: 10.47 kB / 43.13 MB, free: 5.137 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004659/0.04848, allocations: 90.03 kB / 43.21 MB, free: 5.125 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.04852, allocations: 13.12 kB / 43.23 MB, free: 5.125 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.04897, allocations: 88.08 kB / 43.31 MB, free: 5.113 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/0.04906, allocations: 35.66 kB / 43.35 MB, free: 5.109 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 (P1.emptying,$PRE.P1.fireOut[2],$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[2],P1.fireOut[1],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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * 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.0004802/0.04956, allocations: 390.3 kB / 43.73 MB, free: 4.762 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.04969, allocations: 36.41 kB / 43.76 MB, free: 4.742 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.05154, allocations: 0.8729 MB / 44.64 MB, free: 3.93 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-05/0.0516, allocations: 16 kB / 44.65 MB, free: 3.914 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.05165, allocations: 3.938 kB / 44.66 MB, free: 3.91 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.05167, allocations: 6.422 kB / 44.66 MB, free: 3.906 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.05427, allocations: 1.531 MB / 46.19 MB, free: 2.34 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.05429, allocations: 0 / 46.19 MB, free: 2.34 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003584/0.05466, allocations: 59.91 kB / 46.25 MB, free: 2.281 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.05468, allocations: 7.938 kB / 46.26 MB, free: 2.273 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.05474, allocations: 15.98 kB / 46.28 MB, free: 2.258 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.05476, allocations: 0 / 46.28 MB, free: 2.258 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.05477, allocations: 4 kB / 46.28 MB, free: 2.254 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.05713, allocations: 1.273 MB / 47.55 MB, free: 0.9688 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.0572, allocations: 106.2 kB / 47.66 MB, free: 0.8633 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008083/0.0653, allocations: 21.83 kB / 47.68 MB, free: 5.68 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.06572, allocations: 43.34 kB / 47.72 MB, free: 5.68 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002909/0.06603, allocations: 113.6 kB / 47.83 MB, free: 5.68 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-05/0.06614, allocations: 27.88 kB / 47.86 MB, free: 5.68 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0002444/0.06642, allocations: 201.2 kB / 48.05 MB, free: 5.602 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.132e-06/0.06643, allocations: 0 / 48.05 MB, free: 5.602 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0009239/0.06736, allocations: 239.1 kB / 48.29 MB, free: 5.594 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: 14 (P1.fireOut[1],P1.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * 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.0003626/0.06774, allocations: 202.2 kB / 48.49 MB, free: 5.5 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.0695, allocations: 0.916 MB / 49.4 MB, free: 5.371 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.06952, allocations: 3.844 kB / 49.41 MB, free: 5.371 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0008554/0.07039, allocations: 0.5026 MB / 49.91 MB, free: 5.223 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.07107, allocations: 62.11 kB / 49.97 MB, free: 5.203 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.07385, allocations: 1.704 MB / 51.67 MB, free: 4.016 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005864/0.07446, allocations: 0.9927 MB / 52.67 MB, free: 9.473 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.07476, allocations: 91.34 kB / 52.75 MB, free: 9.387 MB / 24.96 MB Notification: Performance of SimCode: time 4.6e-07/0.07477, allocations: 4 kB / 52.76 MB, free: 9.383 MB / 24.96 MB Notification: Performance of Templates: time 0.02634/0.1011, allocations: 8.672 MB / 61.43 MB, free: 10.64 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)