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.006368/0.006368, allocations: 1.357 MB / 17.29 MB, free: 4.527 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.468e-05/1.476e-05, allocations: 0 / 24.36 MB, free: 3.105 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006359/0.000672, allocations: 362.8 kB / 24.71 MB, free: 2.777 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0008185/0.001502, allocations: 0.7325 MB / 25.44 MB, free: 2.043 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.002528, allocations: 0.5912 MB / 26.03 MB, free: 1.449 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.00272, allocations: 4.75 kB / 26.04 MB, free: 1.445 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.002902, allocations: 43.72 kB / 26.08 MB, free: 1.402 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.003567, allocations: 186.6 kB / 26.26 MB, free: 1.223 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.003679, allocations: 35.92 kB / 26.3 MB, free: 1.188 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002305/0.003919, allocations: 211.5 kB / 26.5 MB, free: 0.9805 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.004063, allocations: 69.97 kB / 26.57 MB, free: 0.9102 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.004181, allocations: 91.5 kB / 26.66 MB, free: 0.8203 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.004319, allocations: 87.36 kB / 26.75 MB, free: 0.7344 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.004353, allocations: 8 kB / 26.76 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.004598, allocations: 135.8 kB / 26.89 MB, free: 0.5938 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.004667, allocations: 51.77 kB / 26.94 MB, free: 0.543 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 7.288e-05/0.004746, allocations: 89.19 kB / 27.03 MB, free: 460 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.004999, allocations: 211.6 kB / 27.23 MB, free: 248 kB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.005011, allocations: 4 kB / 27.24 MB, free: 244 kB / 13.93 MB Notification: Performance of FrontEnd: time 7.92e-07/0.005017, allocations: 3.938 kB / 27.24 MB, free: 240 kB / 13.93 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005027, allocations: 0 / 27.24 MB, free: 240 kB / 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.0005973/0.00563, allocations: 488.6 kB / 27.72 MB, free: 4.348 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.005678, allocations: 8.969 kB / 27.73 MB, free: 4.34 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.885e-05/0.005752, allocations: 24.66 kB / 27.75 MB, free: 4.316 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.006035, allocations: 240 kB / 27.98 MB, free: 4.043 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.006077, allocations: 24.92 kB / 28.01 MB, free: 4.02 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.006135, allocations: 20.38 kB / 28.03 MB, free: 4 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007162/0.006858, allocations: 352.7 kB / 28.37 MB, free: 3.641 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.006881, allocations: 192 / 28.37 MB, free: 3.641 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.006918, allocations: 18.66 kB / 28.39 MB, free: 3.625 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.006962, allocations: 12.44 kB / 28.4 MB, free: 3.613 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.007366, allocations: 233.5 kB / 28.63 MB, free: 3.387 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.00862, allocations: 0.9066 MB / 29.54 MB, free: 2.383 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.008891, allocations: 142.4 kB / 29.68 MB, free: 2.234 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.009057, allocations: 92.81 kB / 29.77 MB, free: 2.141 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003465/0.009413, allocations: 429.5 kB / 30.19 MB, free: 1.629 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.009451, allocations: 34.56 kB / 30.22 MB, free: 1.586 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.009462, allocations: 4 kB / 30.23 MB, free: 1.582 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0005903/0.01006, allocations: 303 kB / 30.52 MB, free: 1.273 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.01014, allocations: 110.8 kB / 30.63 MB, free: 1.141 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.01029, allocations: 158.7 kB / 30.78 MB, free: 0.9727 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.01032, allocations: 29.7 kB / 30.81 MB, free: 0.9375 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.623e-05/0.01042, allocations: 152 kB / 30.96 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 4.122e-05/0.01047, allocations: 39.45 kB / 31 MB, free: 0.7461 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.0105, allocations: 4.109 kB / 31 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.01062, allocations: 326.8 kB / 31.32 MB, free: 424 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.01079, allocations: 80.28 kB / 31.4 MB, free: 344 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.01097, allocations: 121.8 kB / 31.52 MB, free: 204 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006876/0.01785, allocations: 233.8 kB / 31.75 MB, free: 7.242 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.01788, allocations: 4.094 kB / 31.75 MB, free: 7.242 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005265/0.01841, allocations: 299.8 kB / 32.05 MB, free: 7.18 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.01847, allocations: 39.48 kB / 32.08 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.01848, allocations: 3.594 kB / 32.09 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01851, allocations: 0 / 32.09 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.01864, allocations: 26.14 kB / 32.11 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.01866, allocations: 7.938 kB / 32.12 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.01881, allocations: 22.44 kB / 32.14 MB, free: 7.148 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.01884, allocations: 10.19 kB / 32.15 MB, free: 7.148 MB / 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 ($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.0002102/0.01906, allocations: 192.3 kB / 32.34 MB, free: 7.004 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.332e-05/0.01911, allocations: 12.94 kB / 32.35 MB, free: 7.004 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005387/0.01965, allocations: 307.5 kB / 32.65 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.01968, allocations: 6.5 kB / 32.66 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01969, allocations: 0 / 32.66 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.0197, allocations: 0 / 32.66 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006993/0.02041, allocations: 0.6193 MB / 33.28 MB, free: 6.602 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02042, allocations: 0 / 33.28 MB, free: 6.602 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.02053, allocations: 24.5 kB / 33.3 MB, free: 6.598 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.02054, allocations: 1.438 kB / 33.3 MB, free: 6.598 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.02056, allocations: 6.406 kB / 33.31 MB, free: 6.598 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.02057, allocations: 0 / 33.31 MB, free: 6.598 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.02058, allocations: 4.969 kB / 33.32 MB, free: 6.594 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005066/0.02109, allocations: 454 kB / 33.76 MB, free: 6.434 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.02113, allocations: 92.05 kB / 33.85 MB, free: 6.336 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.02117, allocations: 8.578 kB / 33.86 MB, free: 6.336 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.52e-05/0.02127, allocations: 12.88 kB / 33.87 MB, free: 6.336 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.02139, allocations: 44.81 kB / 33.91 MB, free: 6.328 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-05/0.02142, allocations: 7.781 kB / 33.92 MB, free: 6.328 MB / 18.57 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.02149, allocations: 114.9 kB / 34.03 MB, free: 6.25 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.11e-07/0.02149, allocations: 0 / 34.03 MB, free: 6.25 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003674/0.02187, allocations: 88.8 kB / 34.12 MB, free: 6.246 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.0002417/0.02211, allocations: 144 kB / 34.26 MB, free: 6.141 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.02248, allocations: 257 kB / 34.51 MB, free: 5.934 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.0225, allocations: 0 / 34.51 MB, free: 5.934 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.02266, allocations: 168.1 kB / 34.68 MB, free: 5.762 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.02297, allocations: 20.17 kB / 34.7 MB, free: 5.742 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.02376, allocations: 0.5315 MB / 35.23 MB, free: 5.191 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000166/0.02394, allocations: 0.7595 MB / 35.99 MB, free: 4.406 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.02403, allocations: 43.34 kB / 36.03 MB, free: 4.363 MB / 18.57 MB Notification: Performance of SimCode: time 7.21e-07/0.02404, allocations: 0 / 36.03 MB, free: 4.363 MB / 18.57 MB Notification: Performance of Templates: time 0.004428/0.02847, allocations: 3.059 MB / 39.09 MB, free: 1.32 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)