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.005604/0.005604, allocations: 1.369 MB / 16.65 MB, free: 4.77 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.8e-05, allocations: 0 / 23.7 MB, free: 3.516 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004975/0.0005357, allocations: 364.9 kB / 24.06 MB, free: 3.188 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0007573/0.001305, allocations: 0.7324 MB / 24.79 MB, free: 2.457 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009623/0.002283, allocations: 0.5914 MB / 25.38 MB, free: 1.863 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.002425, allocations: 8.656 kB / 25.39 MB, free: 1.855 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001549/0.002587, allocations: 43.72 kB / 25.43 MB, free: 1.812 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.003126, allocations: 177.7 kB / 25.61 MB, free: 1.641 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.06e-05/0.003228, allocations: 31.97 kB / 25.64 MB, free: 1.609 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.003436, allocations: 211.4 kB / 25.85 MB, free: 1.402 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.003567, allocations: 88.8 kB / 25.93 MB, free: 1.316 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.017e-05/0.003664, allocations: 83.52 kB / 26.01 MB, free: 1.234 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.003783, allocations: 91.36 kB / 26.1 MB, free: 1.145 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.003812, allocations: 4 kB / 26.11 MB, free: 1.141 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.004052, allocations: 139.7 kB / 26.24 MB, free: 1.004 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.004115, allocations: 35.86 kB / 26.28 MB, free: 0.9688 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.892e-05/0.00419, allocations: 105.1 kB / 26.38 MB, free: 0.8594 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.004479, allocations: 283.2 kB / 26.66 MB, free: 0.582 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.004488, allocations: 0 / 26.66 MB, free: 0.582 MB / 13.93 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004495, allocations: 0 / 26.66 MB, free: 0.582 MB / 13.93 MB Notification: Performance of Transformations before backend: time 3.868e-06/0.004503, allocations: 0 / 26.66 MB, free: 0.582 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.0004735/0.004981, allocations: 488.6 kB / 27.13 MB, free: 52 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.005023, allocations: 12.97 kB / 27.15 MB, free: 40 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.553e-05/0.005083, allocations: 24.66 kB / 27.17 MB, free: 16 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.005354, allocations: 236 kB / 27.4 MB, free: 4.406 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.00539, allocations: 16.94 kB / 27.42 MB, free: 4.391 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.005441, allocations: 28.34 kB / 27.45 MB, free: 4.363 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.006001, allocations: 340.8 kB / 27.78 MB, free: 4.016 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.006026, allocations: 8.125 kB / 27.79 MB, free: 4.008 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.006058, allocations: 17.7 kB / 27.8 MB, free: 3.992 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.006112, allocations: 21.67 kB / 27.83 MB, free: 3.973 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003866/0.006504, allocations: 225.6 kB / 28.05 MB, free: 3.754 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.00785, allocations: 0.9066 MB / 28.95 MB, free: 2.75 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002703/0.008137, allocations: 150.3 kB / 29.1 MB, free: 2.594 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.008297, allocations: 88.8 kB / 29.19 MB, free: 2.504 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.008624, allocations: 437.5 kB / 29.61 MB, free: 1.984 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.008659, allocations: 38.56 kB / 29.65 MB, free: 1.938 MB / 18.59 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.008667, allocations: 0 / 29.65 MB, free: 1.938 MB / 18.59 MB Notification: Performance of matching and sorting (n=13): time 0.0005759/0.009248, allocations: 299.1 kB / 29.94 MB, free: 1.633 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.009322, allocations: 118.7 kB / 30.06 MB, free: 1.492 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.009463, allocations: 154.7 kB / 30.21 MB, free: 1.328 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.009495, allocations: 29.7 kB / 30.24 MB, free: 1.293 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.009601, allocations: 148 kB / 30.38 MB, free: 1.145 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.009658, allocations: 43.44 kB / 30.43 MB, free: 1.102 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/0.009678, allocations: 4 kB / 30.43 MB, free: 1.098 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.0098, allocations: 322.8 kB / 30.75 MB, free: 0.7734 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.009952, allocations: 76.3 kB / 30.82 MB, free: 0.6992 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.01014, allocations: 125.8 kB / 30.94 MB, free: 0.5586 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.01046, allocations: 239.7 kB / 31.18 MB, free: 308 kB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.01047, allocations: 3.938 kB / 31.18 MB, free: 304 kB / 18.59 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.006079/0.01656, allocations: 298.5 kB / 31.47 MB, free: 7.191 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 4.456e-05/0.01663, allocations: 32.39 kB / 31.5 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.01664, allocations: 1.922 kB / 31.51 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01666, allocations: 5.25 kB / 31.51 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.0168, allocations: 27.47 kB / 31.54 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.01682, allocations: 2.562 kB / 31.54 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.01694, allocations: 26.56 kB / 31.57 MB, free: 7.16 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.01698, allocations: 10.09 kB / 31.58 MB, free: 7.16 MB / 18.59 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 ($PRE.P1.fireIn[1],P1.feeding,T1.activation.active,T1.activation.weaklyOutputActiveVec[1],P1.fireIn[1],T1.activation.emptied[1],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.0001852/0.01717, allocations: 200.1 kB / 31.77 MB, free: 7.016 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.01722, allocations: 12.12 kB / 31.78 MB, free: 7.016 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000535/0.01776, allocations: 296.8 kB / 32.07 MB, free: 6.945 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.01779, allocations: 5.203 kB / 32.08 MB, free: 6.945 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.0178, allocations: 1.625 kB / 32.08 MB, free: 6.945 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.289e-06/0.01781, allocations: 1.438 kB / 32.08 MB, free: 6.945 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006619/0.01847, allocations: 0.618 MB / 32.7 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.01849, allocations: 0 / 32.7 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.01859, allocations: 19.3 kB / 32.72 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.0186, allocations: 7.109 kB / 32.72 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.01862, allocations: 0 / 32.72 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01863, allocations: 3.75 kB / 32.73 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01863, allocations: 3.688 kB / 32.73 MB, free: 6.621 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.01913, allocations: 454.5 kB / 33.18 MB, free: 6.457 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 2.892e-05/0.01917, allocations: 92.73 kB / 33.27 MB, free: 6.363 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.0192, allocations: 7.875 kB / 33.27 MB, free: 6.363 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.14e-05/0.0193, allocations: 12.5 kB / 33.29 MB, free: 6.363 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.0194, allocations: 35.98 kB / 33.32 MB, free: 6.363 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01942, allocations: 11.12 kB / 33.33 MB, free: 6.363 MB / 18.59 MB Notification: Performance of sorting global known variables: time 5.605e-05/0.01948, allocations: 109.4 kB / 33.44 MB, free: 6.281 MB / 18.59 MB Notification: Performance of sort global known variables: time 6.21e-07/0.01949, allocations: 0 / 33.44 MB, free: 6.281 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0003249/0.01982, allocations: 93.59 kB / 33.53 MB, free: 6.273 MB / 18.59 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.0002139/0.02004, allocations: 141.8 kB / 33.67 MB, free: 6.188 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.02041, allocations: 267.2 kB / 33.93 MB, free: 6.125 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02042, allocations: 3.875 kB / 33.93 MB, free: 6.125 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.02058, allocations: 160.2 kB / 34.09 MB, free: 6.02 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.02086, allocations: 16.34 kB / 34.11 MB, free: 6.008 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.02159, allocations: 0.5157 MB / 34.62 MB, free: 5.539 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/0.02176, allocations: 0.7667 MB / 35.39 MB, free: 4.758 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.000134/0.0219, allocations: 68.73 kB / 35.46 MB, free: 4.691 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.02197, allocations: 35.41 kB / 35.49 MB, free: 4.66 MB / 18.59 MB Notification: Performance of SimCode: time 2.31e-07/0.02197, allocations: 3.828 kB / 35.49 MB, free: 4.66 MB / 18.59 MB Notification: Performance of Templates: time 0.004521/0.0265, allocations: 2.359 MB / 37.85 MB, free: 2.352 MB / 18.59 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)