Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") translateModel(ConPNlib.Examples.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.02502/0.02503, allocations: 1.357 MB / 16.31 MB, free: 5.309 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.883e-05, allocations: 0 / 23.21 MB, free: 4.066 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0009582/0.001009, allocations: 358.2 kB / 23.56 MB, free: 3.914 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test4): time 0.002245/0.003274, allocations: 1.196 MB / 24.75 MB, free: 2.863 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.002211/0.005546, allocations: 0.7475 MB / 25.5 MB, free: 2.117 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004187/0.006006, allocations: 9.281 kB / 25.51 MB, free: 2.109 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.00642, allocations: 103.3 kB / 25.61 MB, free: 2.008 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.00776, allocations: 266.5 kB / 25.87 MB, free: 1.75 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.008059, allocations: 55.92 kB / 25.93 MB, free: 1.695 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0005819/0.008659, allocations: 319.3 kB / 26.24 MB, free: 1.383 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.009147, allocations: 197.7 kB / 26.43 MB, free: 1.18 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.009424, allocations: 167.1 kB / 26.6 MB, free: 1.016 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002871/0.009728, allocations: 186.9 kB / 26.78 MB, free: 0.832 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 7.71e-05/0.009821, allocations: 20 kB / 26.8 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.01039, allocations: 179.7 kB / 26.97 MB, free: 0.6367 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.01057, allocations: 107.6 kB / 27.08 MB, free: 0.5312 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.01071, allocations: 105.4 kB / 27.18 MB, free: 432 kB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0009365/0.01166, allocations: 0.4952 MB / 27.68 MB, free: 4.57 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01169, allocations: 4 kB / 27.68 MB, free: 4.566 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.254e-06/0.01171, allocations: 4 kB / 27.68 MB, free: 4.562 MB / 18.57 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.01173, allocations: 0 / 27.68 MB, free: 4.562 MB / 18.57 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.001677/0.01342, allocations: 0.7363 MB / 28.42 MB, free: 3.77 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.01349, allocations: 12.28 kB / 28.43 MB, free: 3.758 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002327/0.01373, allocations: 64.2 kB / 28.49 MB, free: 3.695 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009644/0.01471, allocations: 359.9 kB / 28.85 MB, free: 3.305 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.01485, allocations: 53.64 kB / 28.9 MB, free: 3.25 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.01509, allocations: 72.33 kB / 28.97 MB, free: 3.18 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/0.01828, allocations: 0.9308 MB / 29.9 MB, free: 2.234 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.01835, allocations: 352 / 29.9 MB, free: 2.234 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.0185, allocations: 31.94 kB / 29.93 MB, free: 2.203 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002343/0.01875, allocations: 65.27 kB / 30 MB, free: 2.141 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.02131, allocations: 0.6609 MB / 30.66 MB, free: 1.477 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02251/0.04385, allocations: 1.77 MB / 32.43 MB, free: 6.812 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001685/0.04561, allocations: 485.1 kB / 32.9 MB, free: 6.691 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/0.04671, allocations: 0.856 MB / 33.76 MB, free: 5.754 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.04679, allocations: 42.16 kB / 33.8 MB, free: 5.715 MB / 18.57 MB Notification: Performance of pre-optimization done (n=33): time 5.26e-06/0.04681, allocations: 0 / 33.8 MB, free: 5.715 MB / 18.57 MB Notification: Performance of matching and sorting (n=33): time 0.005601/0.05242, allocations: 1.287 MB / 35.08 MB, free: 5.254 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.05261, allocations: 181.9 kB / 35.26 MB, free: 5.047 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.05313, allocations: 267.5 kB / 35.52 MB, free: 4.867 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/0.05323, allocations: 38.86 kB / 35.56 MB, free: 4.832 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.05351, allocations: 281.3 kB / 35.84 MB, free: 4.602 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.0537, allocations: 106.5 kB / 35.94 MB, free: 4.516 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.05377, allocations: 7.5 kB / 35.95 MB, free: 4.512 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.0539, allocations: 337.8 kB / 36.28 MB, free: 4.18 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.05498, allocations: 240.8 kB / 36.51 MB, free: 3.977 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.05611, allocations: 352 kB / 36.86 MB, free: 3.594 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.0572, allocations: 310.5 kB / 37.16 MB, free: 3.281 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.05724, allocations: 3.828 kB / 37.16 MB, free: 3.281 MB / 18.57 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003124/0.06038, allocations: 0.8681 MB / 38.03 MB, free: 2.406 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001142/0.06055, allocations: 83.38 kB / 38.11 MB, free: 2.312 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.06058, allocations: 4 kB / 38.12 MB, free: 2.309 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/0.06321, allocations: 252.7 kB / 38.36 MB, free: 2.059 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.06378, allocations: 53.91 kB / 38.42 MB, free: 2.008 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.06501, allocations: 0.7421 MB / 39.16 MB, free: 1.242 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.06566, allocations: 71.56 kB / 39.23 MB, free: 1.176 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/0.06579, allocations: 24 kB / 39.25 MB, free: 1.152 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.P1.fireOut[1],P1.emptying,P2.outTransition[1].arcType,P1.outTransition[1].arcType,P1.fireOut[1],T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],$PRE.P2.fireIn[1],P2.fireIn[1],$PRE.P2.fireOut[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T1.activation.arcType[1],T2.activation.arcType[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 (43): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0007908/0.06659, allocations: 339.5 kB / 39.58 MB, free: 0.7969 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.06676, allocations: 31.62 kB / 39.61 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0155/0.08228, allocations: 0.841 MB / 40.45 MB, free: 6.656 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.08238, allocations: 12.17 kB / 40.47 MB, free: 6.656 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.0824, allocations: 3.188 kB / 40.47 MB, free: 6.656 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.08242, allocations: 0 / 40.47 MB, free: 6.656 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002941/0.08537, allocations: 1.376 MB / 41.85 MB, free: 6.273 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.08543, allocations: 0 / 41.85 MB, free: 6.273 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.08568, allocations: 28.34 kB / 41.87 MB, free: 6.273 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001323/0.08702, allocations: 270.7 kB / 42.14 MB, free: 6.246 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/0.08714, allocations: 17.78 kB / 42.16 MB, free: 6.238 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008609/0.08801, allocations: 0.7667 MB / 42.92 MB, free: 5.648 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.08804, allocations: 3.609 kB / 42.93 MB, free: 5.648 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002613/0.09066, allocations: 1.152 MB / 44.08 MB, free: 4.641 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.09081, allocations: 108.9 kB / 44.18 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.09091, allocations: 15.98 kB / 44.2 MB, free: 4.52 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003222/0.09125, allocations: 44.41 kB / 44.24 MB, free: 4.48 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.09152, allocations: 87.48 kB / 44.33 MB, free: 4.398 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.0916, allocations: 23.98 kB / 44.35 MB, free: 4.375 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001965/0.09181, allocations: 165.9 kB / 44.51 MB, free: 4.211 MB / 18.57 MB Notification: Performance of sort global known variables: time 3.8e-07/0.09182, allocations: 0 / 44.51 MB, free: 4.211 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0007697/0.0926, allocations: 197.1 kB / 44.71 MB, free: 4.043 MB / 18.57 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: 11 (P1.fireOut[1],P1.emptying,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],P2.fireIn[1],P2.fireOut[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1]) * Number of discrete states: 8 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004386/0.09305, allocations: 194.2 kB / 44.9 MB, free: 3.871 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.09477, allocations: 0.7585 MB / 45.65 MB, free: 3.105 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.09481, allocations: 0 / 45.65 MB, free: 3.105 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0008389/0.09565, allocations: 460 kB / 46.1 MB, free: 2.633 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.09608, allocations: 36.94 kB / 46.14 MB, free: 2.598 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00242/0.09852, allocations: 1.225 MB / 47.36 MB, free: 1.355 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/0.1114, allocations: 0.951 MB / 48.32 MB, free: 5.488 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003745/0.1118, allocations: 91.33 kB / 48.4 MB, free: 5.488 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.1119, allocations: 32.09 kB / 48.44 MB, free: 5.484 MB / 18.57 MB Notification: Performance of SimCode: time 1.182e-06/0.1119, allocations: 0 / 48.44 MB, free: 5.484 MB / 18.57 MB Notification: Performance of Templates: time 0.03087/0.1428, allocations: 6.505 MB / 54.94 MB, free: 5.41 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test4.makefile (rm -f ConPNlib_ConPNlib.Examples.Test4.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test4.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test4.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test4.sim & ./ConPNlib_ConPNlib.Examples.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test4.pipe 2>&1)