Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.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.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") translateModel(ConPNlib.Examples.Test12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009948/0.009948, allocations: 1.361 MB / 16.33 MB, free: 4.93 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.689e-05/1.715e-05, allocations: 4 kB / 23.23 MB, free: 3.773 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0008274/0.0008693, allocations: 360.2 kB / 23.58 MB, free: 3.621 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test12): time 0.002232/0.003123, allocations: 1.624 MB / 25.21 MB, free: 2.195 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.005133, allocations: 0.926 MB / 26.14 MB, free: 1.27 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.005601, allocations: 7.938 kB / 26.14 MB, free: 1.262 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.00595, allocations: 127 kB / 26.27 MB, free: 1.137 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.007076, allocations: 327.5 kB / 26.59 MB, free: 0.8164 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.007314, allocations: 65.14 kB / 26.65 MB, free: 0.7539 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0008452/0.008174, allocations: 0.7089 MB / 27.36 MB, free: 44 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006203/0.008812, allocations: 329.7 kB / 27.68 MB, free: 4.355 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.009255, allocations: 282.4 kB / 27.96 MB, free: 4.078 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.009633, allocations: 282.1 kB / 28.23 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 9.692e-05/0.009743, allocations: 28 kB / 28.26 MB, free: 3.773 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004566/0.01021, allocations: 219.6 kB / 28.47 MB, free: 3.559 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001902/0.01041, allocations: 159.2 kB / 28.63 MB, free: 3.402 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.01058, allocations: 145.3 kB / 28.77 MB, free: 3.254 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.000868/0.01146, allocations: 0.7058 MB / 29.48 MB, free: 2.547 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01147, allocations: 0 / 29.48 MB, free: 2.547 MB / 18.57 MB Notification: Performance of FrontEnd: time 4.188e-06/0.01149, allocations: 0 / 29.48 MB, free: 2.547 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.01151, allocations: 3.938 kB / 29.48 MB, free: 2.543 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.001079/0.01259, allocations: 0.9646 MB / 30.45 MB, free: 1.508 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.01263, allocations: 12.3 kB / 30.46 MB, free: 1.496 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.01281, allocations: 96.95 kB / 30.55 MB, free: 1.402 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.01341, allocations: 484 kB / 31.03 MB, free: 0.8906 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.01351, allocations: 90.39 kB / 31.11 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.01366, allocations: 108.2 kB / 31.22 MB, free: 0.6953 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007923/0.02159, allocations: 1.474 MB / 32.69 MB, free: 7.391 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.02164, allocations: 4.156 kB / 32.7 MB, free: 7.387 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/0.02174, allocations: 54.17 kB / 32.75 MB, free: 7.375 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.02187, allocations: 92.41 kB / 32.84 MB, free: 7.352 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.02336, allocations: 1.065 MB / 33.91 MB, free: 6.859 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003082/0.02646, allocations: 2.89 MB / 36.8 MB, free: 3.949 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008577/0.02733, allocations: 0.7532 MB / 37.55 MB, free: 3.148 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/0.02784, allocations: 468.6 kB / 38.01 MB, free: 2.695 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004616/0.02831, allocations: 0.8544 MB / 38.86 MB, free: 1.66 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.02835, allocations: 42.92 kB / 38.9 MB, free: 1.609 MB / 18.57 MB Notification: Performance of pre-optimization done (n=52): time 2.544e-06/0.02835, allocations: 4 kB / 38.91 MB, free: 1.605 MB / 18.57 MB Notification: Performance of matching and sorting (n=52): time 0.01097/0.03933, allocations: 1.672 MB / 40.58 MB, free: 6.625 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.0395, allocations: 244.9 kB / 40.82 MB, free: 6.375 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004134/0.03993, allocations: 351.7 kB / 41.16 MB, free: 6.27 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.04006, allocations: 46.88 kB / 41.21 MB, free: 6.238 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003057/0.04038, allocations: 392.9 kB / 41.59 MB, free: 6.051 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.04055, allocations: 167.6 kB / 41.75 MB, free: 5.953 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.04059, allocations: 17.81 kB / 41.77 MB, free: 5.953 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.703e-05/0.04066, allocations: 354.3 kB / 42.12 MB, free: 5.641 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.04121, allocations: 377.9 kB / 42.49 MB, free: 5.598 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.04177, allocations: 0.5307 MB / 43.02 MB, free: 5.301 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005401/0.04232, allocations: 477.5 kB / 43.48 MB, free: 5.074 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.04234, allocations: 1.312 kB / 43.48 MB, free: 5.074 MB / 18.57 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001761/0.04411, allocations: 1.297 MB / 44.78 MB, free: 4.262 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.0442, allocations: 121.1 kB / 44.9 MB, free: 4.125 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.04422, allocations: 4 kB / 44.9 MB, free: 4.121 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.04573, allocations: 416.2 kB / 45.31 MB, free: 3.715 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.04597, allocations: 83.83 kB / 45.39 MB, free: 3.633 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006504/0.04663, allocations: 0.8893 MB / 46.28 MB, free: 2.723 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.04696, allocations: 106.6 kB / 46.39 MB, free: 2.621 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-05/0.04704, allocations: 44.97 kB / 46.43 MB, free: 2.578 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],$PRE.P1.fireIn[1],P1.fireIn[1],$PRE.P1.fireOut[1],P1.fireOut[1],$PRE.P1.fireOut[2],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1],T2.activation.arcType[1],T3.activation.arcType[1],T3.activation.emptied[1],T2.activation.emptied[1],T3.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/0.04751, allocations: 467.1 kB / 46.89 MB, free: 2.094 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.0476, allocations: 47.31 kB / 46.93 MB, free: 2.051 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.04913, allocations: 1.257 MB / 48.19 MB, free: 0.7812 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/0.04917, allocations: 15.98 kB / 48.2 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.04918, allocations: 1.062 kB / 48.21 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.04919, allocations: 0 / 48.21 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009217/0.05841, allocations: 2.004 MB / 50.21 MB, free: 5.527 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.05845, allocations: 0 / 50.21 MB, free: 5.527 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001858/0.05864, allocations: 55.38 kB / 50.26 MB, free: 5.527 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/0.05967, allocations: 388.5 kB / 50.64 MB, free: 5.488 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.05974, allocations: 22.23 kB / 50.66 MB, free: 5.48 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006979/0.06044, allocations: 0.9323 MB / 51.6 MB, free: 4.855 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.06046, allocations: 3.172 kB / 51.6 MB, free: 4.855 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/0.06241, allocations: 1.722 MB / 53.32 MB, free: 3.48 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.0625, allocations: 124.6 kB / 53.44 MB, free: 3.367 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.06259, allocations: 27.98 kB / 53.47 MB, free: 3.34 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.06286, allocations: 58.2 kB / 53.53 MB, free: 3.293 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.06309, allocations: 146.6 kB / 53.67 MB, free: 3.152 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.06316, allocations: 27.98 kB / 53.7 MB, free: 3.125 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001727/0.06333, allocations: 221.8 kB / 53.92 MB, free: 2.906 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.41e-07/0.06334, allocations: 0 / 53.92 MB, free: 2.906 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006132/0.06396, allocations: 273.1 kB / 54.18 MB, free: 2.684 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (P1.t_,P2.t_,P3.t_) * Number of discrete variables: 18 (T1.activation.emptied[1],T1.activation.active,T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],T3.activation.fed[1],T3.activation.active,T3.activation.weaklyInputActiveVec[1],T3.activation.weaklyOutputActiveVec[1],P1.fireIn[1],P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P2.feeding,P3.fireIn[1],P3.feeding) * Number of discrete states: 13 (P1.fireIn[1],T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003135/0.06428, allocations: 211.2 kB / 54.39 MB, free: 2.484 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.06564, allocations: 1.182 MB / 55.57 MB, free: 1.289 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.06566, allocations: 4.062 kB / 55.57 MB, free: 1.285 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.06634, allocations: 0.698 MB / 56.27 MB, free: 0.5508 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.06675, allocations: 70.77 kB / 56.34 MB, free: 492 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009396/0.07616, allocations: 1.997 MB / 58.34 MB, free: 4.785 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.07672, allocations: 1.096 MB / 59.43 MB, free: 4.09 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0002909/0.07702, allocations: 145.2 kB / 59.58 MB, free: 4.086 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.093e-05/0.07712, allocations: 47.03 kB / 59.62 MB, free: 4.086 MB / 18.57 MB Notification: Performance of SimCode: time 7.61e-07/0.07713, allocations: 1.094 kB / 59.62 MB, free: 4.086 MB / 18.57 MB Notification: Performance of Templates: time 0.02531/0.1024, allocations: 9.446 MB / 69.07 MB, free: 1.363 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test12.makefile (rm -f ConPNlib_ConPNlib.Examples.Test12.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test12.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test12.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test12.sim & ./ConPNlib_ConPNlib.Examples.Test12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test12.pipe 2>&1)