Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005786/0.005786, allocations: 1.37 MB / 16.65 MB, free: 4.777 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.3e-05, allocations: 0 / 23.71 MB, free: 3.512 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0003774/0.0004057, allocations: 365.5 kB / 24.06 MB, free: 3.188 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0007981/0.001212, allocations: 1.009 MB / 25.07 MB, free: 2.18 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0009389/0.002161, allocations: 0.6943 MB / 25.77 MB, free: 1.484 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.002313, allocations: 3.938 kB / 25.77 MB, free: 1.48 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001548/0.002476, allocations: 65.8 kB / 25.83 MB, free: 1.418 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005586/0.003042, allocations: 231.3 kB / 26.06 MB, free: 1.191 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.484e-05/0.003139, allocations: 43.89 kB / 26.1 MB, free: 1.148 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.003405, allocations: 327.8 kB / 26.42 MB, free: 0.8281 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.00357, allocations: 154.5 kB / 26.57 MB, free: 0.6719 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 8.664e-05/0.003664, allocations: 123.2 kB / 26.69 MB, free: 0.5508 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.003794, allocations: 139.1 kB / 26.83 MB, free: 424 kB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.986e-05/0.003831, allocations: 8 kB / 26.84 MB, free: 416 kB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002571/0.004094, allocations: 223.6 kB / 27.06 MB, free: 192 kB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.00417, allocations: 67.7 kB / 27.12 MB, free: 124 kB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.004296, allocations: 168.6 kB / 27.29 MB, free: 4.609 MB / 18.59 MB Notification: Performance of NFConvertDAE.convert: time 0.000479/0.004783, allocations: 0.4946 MB / 27.78 MB, free: 4.113 MB / 18.59 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.004794, allocations: 0 / 27.78 MB, free: 4.113 MB / 18.59 MB Notification: Performance of FrontEnd: time 7.41e-07/0.0048, allocations: 0 / 27.78 MB, free: 4.113 MB / 18.59 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004808, allocations: 0 / 27.78 MB, free: 4.113 MB / 18.59 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006466/0.005459, allocations: 0.6098 MB / 28.39 MB, free: 3.445 MB / 18.59 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.005495, allocations: 11.78 kB / 28.4 MB, free: 3.438 MB / 18.59 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.405e-05/0.005575, allocations: 44.47 kB / 28.45 MB, free: 3.395 MB / 18.59 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.005898, allocations: 299.7 kB / 28.74 MB, free: 3.062 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.005943, allocations: 42.61 kB / 28.78 MB, free: 3.023 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.216e-05/0.006013, allocations: 44.38 kB / 28.82 MB, free: 2.98 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009241/0.006944, allocations: 0.6408 MB / 29.46 MB, free: 2.32 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.006966, allocations: 4.125 kB / 29.47 MB, free: 2.316 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.007014, allocations: 23.92 kB / 29.49 MB, free: 2.293 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/0.007081, allocations: 40.97 kB / 29.53 MB, free: 2.254 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006906/0.007778, allocations: 459.7 kB / 29.98 MB, free: 1.805 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001664/0.009452, allocations: 1.497 MB / 31.48 MB, free: 180 kB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004958/0.01442, allocations: 353 kB / 31.82 MB, free: 7.352 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.0147, allocations: 183.1 kB / 32 MB, free: 7.344 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003023/0.01501, allocations: 0.5958 MB / 32.6 MB, free: 6.688 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.01503, allocations: 35.7 kB / 32.63 MB, free: 6.648 MB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.01504, allocations: 0 / 32.63 MB, free: 6.648 MB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.0007951/0.01584, allocations: 0.5326 MB / 33.16 MB, free: 6.586 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.01589, allocations: 145.3 kB / 33.31 MB, free: 6.43 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.01604, allocations: 227 kB / 33.53 MB, free: 6.316 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.01607, allocations: 36.89 kB / 33.56 MB, free: 6.285 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.01616, allocations: 213.5 kB / 33.77 MB, free: 6.152 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.01621, allocations: 70.39 kB / 33.84 MB, free: 6.113 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.783e-05/0.01623, allocations: 9.281 kB / 33.85 MB, free: 6.113 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 4.041e-05/0.01628, allocations: 330.3 kB / 34.17 MB, free: 5.801 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.0165, allocations: 159.2 kB / 34.33 MB, free: 5.797 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.01674, allocations: 249.8 kB / 34.57 MB, free: 5.707 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004231/0.01717, allocations: 415.5 kB / 34.98 MB, free: 5.5 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01718, allocations: 4.031 kB / 34.98 MB, free: 5.496 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006372/0.01783, allocations: 0.5365 MB / 35.52 MB, free: 5.027 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.01787, allocations: 45.94 kB / 35.56 MB, free: 4.977 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.01788, allocations: 8 kB / 35.57 MB, free: 4.969 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.0179, allocations: 5.922 kB / 35.58 MB, free: 4.965 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.01806, allocations: 48.94 kB / 35.62 MB, free: 4.918 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.01808, allocations: 7.938 kB / 35.63 MB, free: 4.91 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.01823, allocations: 51.66 kB / 35.68 MB, free: 4.859 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.405e-05/0.01827, allocations: 21.17 kB / 35.7 MB, free: 4.84 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[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 (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0001818/0.01846, allocations: 257.5 kB / 35.95 MB, free: 4.574 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.01851, allocations: 19.81 kB / 35.97 MB, free: 4.555 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.01915, allocations: 481 kB / 36.44 MB, free: 4.082 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.01918, allocations: 7.656 kB / 36.45 MB, free: 4.078 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01919, allocations: 0 / 36.45 MB, free: 4.078 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.0192, allocations: 0 / 36.45 MB, free: 4.078 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008702/0.02008, allocations: 0.9189 MB / 37.37 MB, free: 3.105 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02009, allocations: 6.297 kB / 37.38 MB, free: 3.105 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/0.02023, allocations: 39.91 kB / 37.41 MB, free: 3.066 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02024, allocations: 3.938 kB / 37.42 MB, free: 3.062 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.02026, allocations: 8 kB / 37.43 MB, free: 3.055 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.02027, allocations: 0 / 37.43 MB, free: 3.055 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.02028, allocations: 4 kB / 37.43 MB, free: 3.051 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.02106, allocations: 0.7084 MB / 38.14 MB, free: 2.32 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.0211, allocations: 98.67 kB / 38.24 MB, free: 2.207 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.02115, allocations: 15.98 kB / 38.25 MB, free: 2.191 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.02129, allocations: 31.09 kB / 38.28 MB, free: 2.164 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.02142, allocations: 55.94 kB / 38.34 MB, free: 2.109 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.02145, allocations: 15.92 kB / 38.35 MB, free: 2.094 MB / 18.59 MB Notification: Performance of sorting global known variables: time 7.787e-05/0.02153, allocations: 145.6 kB / 38.49 MB, free: 1.953 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02154, allocations: 0 / 38.49 MB, free: 1.953 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0003715/0.02191, allocations: 154.1 kB / 38.64 MB, free: 1.809 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * 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.0002145/0.02214, allocations: 182.1 kB / 38.82 MB, free: 1.637 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.000555/0.0227, allocations: 486.1 kB / 39.3 MB, free: 1.152 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02271, allocations: 0.5 kB / 39.3 MB, free: 1.152 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.02299, allocations: 263.2 kB / 39.55 MB, free: 0.8828 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.0233, allocations: 33.08 kB / 39.59 MB, free: 0.8516 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006158/0.02947, allocations: 0.9301 MB / 40.52 MB, free: 6.359 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.02978, allocations: 0.8534 MB / 41.37 MB, free: 12.05 MB / 24.98 MB Notification: Performance of simCode: alias equations: time 0.0002361/0.03003, allocations: 117.2 kB / 41.48 MB, free: 12.04 MB / 24.98 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.631e-05/0.03013, allocations: 38.25 kB / 41.52 MB, free: 12.04 MB / 24.98 MB Notification: Performance of SimCode: time 7.01e-07/0.03014, allocations: 1.344 kB / 41.52 MB, free: 12.04 MB / 24.98 MB Notification: Performance of Templates: time 0.006436/0.03658, allocations: 4.046 MB / 45.57 MB, free: 9.359 MB / 24.98 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)