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.005377/0.005377, allocations: 1.374 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.206e-05, allocations: 0 / 23.87 MB, free: 3.934 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005638/0.0005956, allocations: 360.1 kB / 24.23 MB, free: 3.633 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test3): time 0.0007822/0.001391, allocations: 0.6736 MB / 24.9 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0008587/0.002265, allocations: 0.5497 MB / 25.45 MB, free: 2.406 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.002489, allocations: 2.375 kB / 25.45 MB, free: 2.406 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.002675, allocations: 43.66 kB / 25.49 MB, free: 2.363 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.003267, allocations: 175.4 kB / 25.67 MB, free: 2.191 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 8.755e-05/0.003366, allocations: 23.98 kB / 25.69 MB, free: 2.168 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.003594, allocations: 209.9 kB / 25.89 MB, free: 1.965 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.003738, allocations: 76.98 kB / 25.97 MB, free: 1.887 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.003849, allocations: 84.12 kB / 26.05 MB, free: 1.805 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.003965, allocations: 67.5 kB / 26.12 MB, free: 1.738 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 2.316e-05/0.003995, allocations: 8 kB / 26.13 MB, free: 1.73 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002003/0.004201, allocations: 131.8 kB / 26.25 MB, free: 1.602 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.004252, allocations: 35.84 kB / 26.29 MB, free: 1.566 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.004294, allocations: 49.58 kB / 26.34 MB, free: 1.512 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.004518, allocations: 219.4 kB / 26.55 MB, free: 1.301 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.004528, allocations: 0 / 26.55 MB, free: 1.301 MB / 13.93 MB Notification: Performance of FrontEnd: time 8.02e-07/0.004535, allocations: 4 kB / 26.56 MB, free: 1.297 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.004546, allocations: 0 / 26.56 MB, free: 1.297 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.0005212/0.005071, allocations: 484.6 kB / 27.03 MB, free: 0.7734 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.005113, allocations: 12.3 kB / 27.04 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.368e-05/0.005183, allocations: 24.58 kB / 27.06 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.005406, allocations: 236 kB / 27.3 MB, free: 480 kB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.806e-05/0.005443, allocations: 16.91 kB / 27.31 MB, free: 464 kB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.005488, allocations: 24.25 kB / 27.34 MB, free: 440 kB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.005975, allocations: 348.7 kB / 27.68 MB, free: 76 kB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.005997, allocations: 4.109 kB / 27.68 MB, free: 72 kB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.006029, allocations: 16.12 kB / 27.7 MB, free: 56 kB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.87e-05/0.006073, allocations: 16.42 kB / 27.71 MB, free: 40 kB / 13.93 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.006514, allocations: 229.5 kB / 27.94 MB, free: 4.461 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.007762, allocations: 0.9165 MB / 28.85 MB, free: 3.449 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.008042, allocations: 138.5 kB / 28.99 MB, free: 3.305 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.008196, allocations: 88.81 kB / 29.07 MB, free: 3.215 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.008541, allocations: 437.5 kB / 29.5 MB, free: 2.695 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.008577, allocations: 30.56 kB / 29.53 MB, free: 2.656 MB / 18.57 MB Notification: Performance of pre-optimization done (n=13): time 1.753e-06/0.008585, allocations: 0 / 29.53 MB, free: 2.656 MB / 18.57 MB Notification: Performance of matching and sorting (n=13): time 0.0006021/0.009193, allocations: 299.1 kB / 29.82 MB, free: 2.352 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/0.009263, allocations: 114.8 kB / 29.94 MB, free: 2.215 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.009409, allocations: 158.2 kB / 30.09 MB, free: 2.047 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.009441, allocations: 33.7 kB / 30.12 MB, free: 2.008 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.009541, allocations: 148 kB / 30.27 MB, free: 1.859 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 3.966e-05/0.009587, allocations: 35.45 kB / 30.3 MB, free: 1.824 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/0.009605, allocations: 11.94 kB / 30.31 MB, free: 1.812 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.00972, allocations: 318.8 kB / 30.63 MB, free: 1.492 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.00988, allocations: 75.95 kB / 30.7 MB, free: 1.418 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.01006, allocations: 125.1 kB / 30.82 MB, free: 1.277 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.01025, allocations: 105.7 kB / 30.92 MB, free: 1.168 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.01027, allocations: 7.984 kB / 30.93 MB, free: 1.16 MB / 18.57 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000485/0.01076, allocations: 299.7 kB / 31.23 MB, free: 0.8555 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.01081, allocations: 41.64 kB / 31.27 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.01082, allocations: 0 / 31.27 MB, free: 0.8086 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01084, allocations: 4 kB / 31.27 MB, free: 0.8047 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.01098, allocations: 27.97 kB / 31.3 MB, free: 0.7773 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.011, allocations: 3.938 kB / 31.3 MB, free: 0.7734 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.0111, allocations: 31.95 kB / 31.33 MB, free: 0.7422 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.01115, allocations: 13.48 kB / 31.35 MB, free: 0.7305 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.01134, allocations: 196.3 kB / 31.54 MB, free: 0.5234 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.01139, allocations: 11.86 kB / 31.55 MB, free: 0.5117 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000557/0.01195, allocations: 331.9 kB / 31.87 MB, free: 168 kB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.01198, allocations: 4 kB / 31.88 MB, free: 164 kB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.01199, allocations: 7.984 kB / 31.88 MB, free: 156 kB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.012, allocations: 0 / 31.88 MB, free: 156 kB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006377/0.01838, allocations: 0.6047 MB / 32.49 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.0184, allocations: 0 / 32.49 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.01852, allocations: 21.33 kB / 32.51 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.01854, allocations: 3.906 kB / 32.51 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.01856, allocations: 2.875 kB / 32.52 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.01857, allocations: 4.75 kB / 32.52 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01857, allocations: 3.984 kB / 32.53 MB, free: 7.184 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000537/0.01912, allocations: 453.9 kB / 32.97 MB, free: 7.023 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 2.998e-05/0.01916, allocations: 91.34 kB / 33.06 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.0192, allocations: 11.61 kB / 33.07 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.01931, allocations: 14.39 kB / 33.08 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.903e-05/0.01941, allocations: 35.06 kB / 33.12 MB, free: 6.93 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.01944, allocations: 4.703 kB / 33.12 MB, free: 6.93 MB / 18.57 MB Notification: Performance of sorting global known variables: time 5.724e-05/0.0195, allocations: 112.2 kB / 33.23 MB, free: 6.855 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01951, allocations: 0 / 33.23 MB, free: 6.855 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0003438/0.01985, allocations: 93.27 kB / 33.32 MB, free: 6.855 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 (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.0001967/0.02006, allocations: 147.1 kB / 33.47 MB, free: 6.766 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.02043, allocations: 262.5 kB / 33.72 MB, free: 6.703 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02045, allocations: 0 / 33.72 MB, free: 6.703 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.02061, allocations: 163.5 kB / 33.88 MB, free: 6.641 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.02088, allocations: 19.3 kB / 33.9 MB, free: 6.641 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006894/0.02158, allocations: 0.5271 MB / 34.43 MB, free: 6.359 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.02175, allocations: 0.76 MB / 35.19 MB, free: 5.648 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.858e-05/0.02185, allocations: 50.45 kB / 35.24 MB, free: 5.613 MB / 18.57 MB Notification: Performance of SimCode: time 2.61e-07/0.02185, allocations: 0 / 35.24 MB, free: 5.613 MB / 18.57 MB Notification: Performance of Templates: time 0.00406/0.02592, allocations: 3.067 MB / 38.3 MB, free: 2.59 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)