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.02501/0.02501, allocations: 1.355 MB / 16.31 MB, free: 4.941 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.511e-05, allocations: 0 / 23.21 MB, free: 3.719 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009754/0.001025, allocations: 358.7 kB / 23.56 MB, free: 3.566 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.001466/0.002512, allocations: 0.7027 MB / 24.27 MB, free: 3.152 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001747/0.004288, allocations: 0.547 MB / 24.81 MB, free: 2.605 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.004578, allocations: 4 kB / 24.82 MB, free: 2.602 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.004867, allocations: 52.66 kB / 24.87 MB, free: 2.551 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.005931, allocations: 182.3 kB / 25.05 MB, free: 2.375 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.006146, allocations: 35.89 kB / 25.08 MB, free: 2.34 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003281/0.006492, allocations: 135.7 kB / 25.21 MB, free: 2.207 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.006763, allocations: 74.17 kB / 25.29 MB, free: 2.129 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.006934, allocations: 79.56 kB / 25.36 MB, free: 2.051 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.007112, allocations: 75.55 kB / 25.44 MB, free: 1.977 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.007166, allocations: 4 kB / 25.44 MB, free: 1.973 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.007555, allocations: 119.8 kB / 25.56 MB, free: 1.855 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.007649, allocations: 31.84 kB / 25.59 MB, free: 1.824 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 6.275e-05/0.007727, allocations: 49.64 kB / 25.64 MB, free: 1.77 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.008211, allocations: 217.7 kB / 25.85 MB, free: 1.559 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.008234, allocations: 0 / 25.85 MB, free: 1.559 MB / 13.93 MB Notification: Performance of FrontEnd: time 3.917e-06/0.008251, allocations: 0 / 25.85 MB, free: 1.559 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.008269, allocations: 3.938 kB / 25.85 MB, free: 1.555 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.0008308/0.009111, allocations: 488.6 kB / 26.33 MB, free: 1.027 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.009172, allocations: 8.297 kB / 26.34 MB, free: 1.02 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.00929, allocations: 24.58 kB / 26.36 MB, free: 0.9961 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.009688, allocations: 236 kB / 26.59 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.009749, allocations: 18.72 kB / 26.61 MB, free: 0.7109 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/0.009846, allocations: 28.25 kB / 26.64 MB, free: 0.6836 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.01088, allocations: 344.7 kB / 26.98 MB, free: 340 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.01092, allocations: 8.344 kB / 26.98 MB, free: 332 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.062e-05/0.01098, allocations: 7.953 kB / 26.99 MB, free: 324 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.801e-05/0.01107, allocations: 24.42 kB / 27.02 MB, free: 300 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007874/0.01188, allocations: 221.6 kB / 27.23 MB, free: 80 kB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002361/0.01426, allocations: 0.9111 MB / 28.14 MB, free: 3.73 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.01488, allocations: 142.5 kB / 28.28 MB, free: 3.582 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.01553, allocations: 429.5 kB / 28.7 MB, free: 3.07 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.01559, allocations: 30.56 kB / 28.73 MB, free: 3.031 MB / 18.59 MB Notification: Performance of pre-optimization done (n=13): time 4.268e-06/0.01561, allocations: 2.906 kB / 28.74 MB, free: 3.031 MB / 18.59 MB Notification: Performance of matching and sorting (n=13): time 0.001407/0.01703, allocations: 396.3 kB / 29.12 MB, free: 2.613 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.01718, allocations: 106.8 kB / 29.23 MB, free: 2.484 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.01747, allocations: 162.1 kB / 29.38 MB, free: 2.312 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.01754, allocations: 33.69 kB / 29.42 MB, free: 2.273 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.01773, allocations: 148 kB / 29.56 MB, free: 2.125 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.01783, allocations: 35.47 kB / 29.6 MB, free: 2.09 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.01787, allocations: 8.109 kB / 29.6 MB, free: 2.082 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.01808, allocations: 322.8 kB / 29.92 MB, free: 1.758 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.01848, allocations: 83.94 kB / 30 MB, free: 1.676 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.01892, allocations: 117.1 kB / 30.12 MB, free: 1.543 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004129/0.01935, allocations: 109.7 kB / 30.22 MB, free: 1.43 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.01938, allocations: 0 / 30.22 MB, free: 1.43 MB / 18.59 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001184/0.02057, allocations: 303.6 kB / 30.52 MB, free: 1.121 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/0.02072, allocations: 41.81 kB / 30.56 MB, free: 1.074 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.02074, allocations: 0 / 30.56 MB, free: 1.074 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/0.02078, allocations: 0 / 30.56 MB, free: 1.074 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/0.02109, allocations: 37.42 kB / 30.6 MB, free: 1.039 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.02113, allocations: 0 / 30.6 MB, free: 1.039 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.02137, allocations: 19.89 kB / 30.62 MB, free: 1.02 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.505e-05/0.02146, allocations: 12 kB / 30.63 MB, free: 1.008 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004371/0.02191, allocations: 200 kB / 30.82 MB, free: 0.7969 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.315e-05/0.02202, allocations: 11.86 kB / 30.84 MB, free: 0.7852 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.02336, allocations: 323.8 kB / 31.15 MB, free: 456 kB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.347e-05/0.02344, allocations: 4 kB / 31.16 MB, free: 452 kB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.02347, allocations: 0 / 31.16 MB, free: 452 kB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.707e-06/0.02349, allocations: 0 / 31.16 MB, free: 452 kB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/0.0421, allocations: 0.614 MB / 31.77 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.04216, allocations: 0 / 31.77 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.04242, allocations: 21.36 kB / 31.79 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.04244, allocations: 0.5 kB / 31.79 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/0.04249, allocations: 13.8 kB / 31.8 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.04251, allocations: 0.5469 kB / 31.8 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.04253, allocations: 0 / 31.8 MB, free: 7.555 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.04379, allocations: 466.7 kB / 32.26 MB, free: 7.395 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 6.697e-05/0.04389, allocations: 86.33 kB / 32.34 MB, free: 7.301 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.04397, allocations: 12.59 kB / 32.36 MB, free: 7.301 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.04422, allocations: 12.36 kB / 32.37 MB, free: 7.301 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.04443, allocations: 33.45 kB / 32.4 MB, free: 7.301 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.04449, allocations: 12.95 kB / 32.41 MB, free: 7.301 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.0001377/0.04464, allocations: 109.3 kB / 32.52 MB, free: 7.227 MB / 18.59 MB Notification: Performance of sort global known variables: time 5.71e-07/0.04465, allocations: 0 / 32.52 MB, free: 7.227 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0007979/0.04546, allocations: 88.25 kB / 32.61 MB, free: 7.223 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/0.04586, allocations: 155.7 kB / 32.76 MB, free: 7.133 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.0008491/0.04673, allocations: 261.9 kB / 33.02 MB, free: 7.07 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.04675, allocations: 0 / 33.02 MB, free: 7.07 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.0003761/0.04714, allocations: 167.1 kB / 33.18 MB, free: 7.008 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.04753, allocations: 15.59 kB / 33.19 MB, free: 7.008 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.04887, allocations: 485.4 kB / 33.67 MB, free: 6.688 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.04921, allocations: 0.7741 MB / 34.44 MB, free: 5.934 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.04953, allocations: 71.94 kB / 34.51 MB, free: 5.891 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.04968, allocations: 35.86 kB / 34.55 MB, free: 5.867 MB / 18.59 MB Notification: Performance of SimCode: time 1.092e-06/0.0497, allocations: 2.969 kB / 34.55 MB, free: 5.867 MB / 18.59 MB Notification: Performance of Templates: time 0.01035/0.06005, allocations: 2.338 MB / 36.89 MB, free: 3.594 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)