Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") translateModel(ConPNlib.Examples.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005649/0.005649, allocations: 1.361 MB / 17.26 MB, free: 4.539 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.071e-05/1.074e-05, allocations: 4 kB / 24.31 MB, free: 3.074 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004483/0.0004722, allocations: 361.5 kB / 24.66 MB, free: 2.766 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test10): time 0.00133/0.00181, allocations: 1.956 MB / 26.62 MB, free: 0.8125 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001384/0.003205, allocations: 1.017 MB / 27.64 MB, free: 4.438 MB / 18.57 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002574/0.003475, allocations: 11.94 kB / 27.65 MB, free: 4.426 MB / 18.57 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.003812, allocations: 135 kB / 27.78 MB, free: 4.293 MB / 18.57 MB Notification: Performance of NFTyping.typeBindings: time 0.0008704/0.004692, allocations: 373.6 kB / 28.14 MB, free: 3.93 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.004849, allocations: 63.94 kB / 28.21 MB, free: 3.867 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.000695/0.005553, allocations: 0.7205 MB / 28.93 MB, free: 3.148 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.006048, allocations: 440.4 kB / 29.36 MB, free: 2.699 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002632/0.006319, allocations: 282.1 kB / 29.63 MB, free: 2.422 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.006645, allocations: 321.7 kB / 29.95 MB, free: 2.105 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.006712, allocations: 28 kB / 29.97 MB, free: 2.078 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.007081, allocations: 223.6 kB / 30.19 MB, free: 1.859 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.007259, allocations: 183.1 kB / 30.37 MB, free: 1.68 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.007568, allocations: 349.3 kB / 30.71 MB, free: 1.336 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.008249, allocations: 0.7439 MB / 31.46 MB, free: 0.5938 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.008263, allocations: 4 kB / 31.46 MB, free: 0.5898 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.323e-06/0.008269, allocations: 0 / 31.46 MB, free: 0.5898 MB / 18.57 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.008288, allocations: 4 kB / 31.46 MB, free: 0.5859 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.006266/0.01456, allocations: 0.9986 MB / 32.46 MB, free: 7.168 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.0146, allocations: 8.281 kB / 32.47 MB, free: 7.168 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002237/0.01483, allocations: 107.8 kB / 32.58 MB, free: 7.117 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.01534, allocations: 0.4952 MB / 33.07 MB, free: 6.844 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.01541, allocations: 90.92 kB / 33.16 MB, free: 6.84 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.01557, allocations: 117.1 kB / 33.27 MB, free: 6.84 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.0174, allocations: 1.599 MB / 34.87 MB, free: 5.848 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.01744, allocations: 192 / 34.87 MB, free: 5.848 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.423e-05/0.01752, allocations: 56.55 kB / 34.93 MB, free: 5.797 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.01763, allocations: 98.19 kB / 35.02 MB, free: 5.699 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001391/0.01902, allocations: 1.13 MB / 36.15 MB, free: 4.566 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.02223, allocations: 3.474 MB / 39.63 MB, free: 0.9102 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009747/0.02322, allocations: 0.666 MB / 40.29 MB, free: 216 kB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006645/0.02988, allocations: 444.8 kB / 40.73 MB, free: 6.266 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/0.03022, allocations: 0.6022 MB / 41.33 MB, free: 5.609 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.03025, allocations: 43.62 kB / 41.37 MB, free: 5.57 MB / 18.57 MB Notification: Performance of pre-optimization done (n=51): time 2.265e-06/0.03026, allocations: 0 / 41.37 MB, free: 5.57 MB / 18.57 MB Notification: Performance of matching and sorting (n=51): time 0.001607/0.03187, allocations: 1.099 MB / 42.47 MB, free: 5.465 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.03195, allocations: 269.2 kB / 42.74 MB, free: 5.18 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.03228, allocations: 420.1 kB / 43.15 MB, free: 4.996 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.03232, allocations: 40.95 kB / 43.19 MB, free: 4.957 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.03252, allocations: 456.6 kB / 43.63 MB, free: 4.656 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.03263, allocations: 161.2 kB / 43.79 MB, free: 4.539 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.03279, allocations: 109.1 kB / 43.9 MB, free: 4.492 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.03286, allocations: 357.7 kB / 44.25 MB, free: 4.16 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.03335, allocations: 382.6 kB / 44.62 MB, free: 4.047 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.0339, allocations: 0.5973 MB / 45.22 MB, free: 3.453 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009166/0.03483, allocations: 0.962 MB / 46.18 MB, free: 2.395 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.03484, allocations: 0 / 46.18 MB, free: 2.395 MB / 18.57 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001326/0.03618, allocations: 1.133 MB / 47.31 MB, free: 1.254 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.646e-05/0.03624, allocations: 91.38 kB / 47.4 MB, free: 1.152 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.03626, allocations: 5.484 kB / 47.41 MB, free: 1.148 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.03628, allocations: 8.656 kB / 47.41 MB, free: 1.141 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003087/0.0366, allocations: 123.7 kB / 47.53 MB, free: 1.02 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-05/0.03667, allocations: 12 kB / 47.55 MB, free: 1.008 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.03699, allocations: 119.2 kB / 47.66 MB, free: 0.8906 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.03706, allocations: 43.97 kB / 47.71 MB, free: 0.8477 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 35 (P1.emptying,$PRE.P1.fireOut[1],P2.emptying,$PRE.P2.fireOut[2],$PRE.P2.fireOut[1],P3.feeding,$PRE.P3.fireIn[1],P4.feeding,$PRE.P4.fireIn[1],IA1.outTransition.arcType,P2.outTransition[1].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.fed[2],T1.activation.emptied[1],T2.activation.emptied[1],T1.activation.arcType[2],T2.activation.arcType[1],T1.activation.arcType[1],P4.fireIn[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireOut[2],P2.fireOut[1],P1.fireOut[1],T2.outPlaces[1].enabledByInPlaces,T1.outPlaces[1].enabledByInPlaces,P2.outTransition[2].arcType) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 2 * 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.0004027/0.03747, allocations: 461.4 kB / 48.16 MB, free: 388 kB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.688e-05/0.03755, allocations: 47.53 kB / 48.2 MB, free: 340 kB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006884/0.04444, allocations: 0.938 MB / 49.14 MB, free: 5.297 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-05/0.04449, allocations: 15.06 kB / 49.16 MB, free: 5.297 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.0445, allocations: 0 / 49.16 MB, free: 5.297 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.04452, allocations: 7.844 kB / 49.16 MB, free: 5.297 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/0.04649, allocations: 1.753 MB / 50.92 MB, free: 4.777 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.04654, allocations: 0 / 50.92 MB, free: 4.777 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.04681, allocations: 82.23 kB / 51 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.04683, allocations: 2.469 kB / 51 MB, free: 4.773 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.04687, allocations: 24.59 kB / 51.02 MB, free: 4.766 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.04688, allocations: 1.875 kB / 51.02 MB, free: 4.766 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.04689, allocations: 0 / 51.02 MB, free: 4.766 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.04849, allocations: 1.398 MB / 52.42 MB, free: 3.77 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.04855, allocations: 134.9 kB / 52.55 MB, free: 3.652 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/0.04868, allocations: 26.17 kB / 52.58 MB, free: 3.629 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.04892, allocations: 51.97 kB / 52.63 MB, free: 3.578 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.04912, allocations: 129.2 kB / 52.76 MB, free: 3.453 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.04918, allocations: 35.7 kB / 52.79 MB, free: 3.422 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001885/0.04937, allocations: 247.2 kB / 53.03 MB, free: 3.18 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04938, allocations: 0 / 53.03 MB, free: 3.18 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0006303/0.05001, allocations: 291.6 kB / 53.32 MB, free: 2.938 MB / 18.57 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.t_,P2.t_,P3.t_,P4.t_) * Number of discrete variables: 17 (P1.fireOut[1],P1.emptying,P2.fireOut[1],P2.fireOut[2],P2.emptying,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.fed[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],P3.fireIn[1],P4.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 44 * Array equations: 4 * Algorithm blocks: 2 * 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.0002685/0.05029, allocations: 212.8 kB / 53.53 MB, free: 2.738 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.05151, allocations: 1.138 MB / 54.66 MB, free: 1.586 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.05153, allocations: 0 / 54.66 MB, free: 1.586 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.05213, allocations: 0.6016 MB / 55.27 MB, free: 0.9609 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.05255, allocations: 73.31 kB / 55.34 MB, free: 0.8945 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008207/0.06076, allocations: 2.262 MB / 57.6 MB, free: 4.129 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004186/0.06121, allocations: 1.084 MB / 58.68 MB, free: 3.43 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000264/0.06148, allocations: 114.8 kB / 58.8 MB, free: 3.418 MB / 18.57 MB Notification: Performance of SimCode: time 5.11e-07/0.06149, allocations: 2.078 kB / 58.8 MB, free: 3.418 MB / 18.57 MB Notification: Performance of Templates: time 0.01957/0.08106, allocations: 10.77 MB / 69.57 MB, free: 9.504 MB / 24.77 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test10.makefile (rm -f ConPNlib_ConPNlib.Examples.Test10.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test10.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test10.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test10.sim & ./ConPNlib_ConPNlib.Examples.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test10.pipe 2>&1)