Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test5.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.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") translateModel(ConPNlib.Examples.Test5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005931/0.005931, allocations: 1.362 MB / 17.3 MB, free: 4.523 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.494e-05, allocations: 0 / 24.36 MB, free: 3.102 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005495/0.0005833, allocations: 363.6 kB / 24.71 MB, free: 2.77 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test5): time 0.0009568/0.00155, allocations: 1.01 MB / 25.72 MB, free: 1.758 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.002698, allocations: 0.6907 MB / 26.41 MB, free: 1.062 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.002925, allocations: 6.719 kB / 26.42 MB, free: 1.059 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.003123, allocations: 63.58 kB / 26.48 MB, free: 0.9961 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006933/0.003824, allocations: 235.2 kB / 26.71 MB, free: 0.7656 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.003941, allocations: 39.95 kB / 26.75 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003018/0.004253, allocations: 331.8 kB / 27.07 MB, free: 412 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.004442, allocations: 154.5 kB / 27.22 MB, free: 252 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.004581, allocations: 123.2 kB / 27.34 MB, free: 128 kB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001803/0.004768, allocations: 139.1 kB / 27.48 MB, free: 4.629 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.004822, allocations: 15.94 kB / 27.5 MB, free: 4.613 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000366/0.005193, allocations: 211.6 kB / 27.7 MB, free: 4.41 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.005311, allocations: 75.62 kB / 27.78 MB, free: 4.336 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.005465, allocations: 168.7 kB / 27.94 MB, free: 4.164 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0004662/0.005938, allocations: 379.4 kB / 28.31 MB, free: 3.793 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.005949, allocations: 0 / 28.31 MB, free: 3.793 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005956, allocations: 0 / 28.31 MB, free: 3.793 MB / 18.57 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.005972, allocations: 0 / 28.31 MB, free: 3.793 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0008067/0.006783, allocations: 0.6059 MB / 28.92 MB, free: 3.129 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.00683, allocations: 14.09 kB / 28.93 MB, free: 3.117 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.006941, allocations: 40.47 kB / 28.97 MB, free: 3.078 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.007318, allocations: 307.6 kB / 29.27 MB, free: 2.738 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/0.007391, allocations: 38.31 kB / 29.31 MB, free: 2.703 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.689e-05/0.007475, allocations: 52.36 kB / 29.36 MB, free: 2.652 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.0085, allocations: 0.6369 MB / 30 MB, free: 1.996 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.008523, allocations: 192 / 30 MB, free: 1.996 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.008576, allocations: 27.92 kB / 30.02 MB, free: 1.969 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.87e-05/0.008651, allocations: 44.97 kB / 30.07 MB, free: 1.926 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007567/0.009413, allocations: 451.7 kB / 30.51 MB, free: 1.484 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008674/0.0181, allocations: 1.498 MB / 32.01 MB, free: 7.137 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.01867, allocations: 241.7 kB / 32.24 MB, free: 7.113 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.01899, allocations: 191.6 kB / 32.43 MB, free: 7.105 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/0.01942, allocations: 0.5958 MB / 33.03 MB, free: 6.449 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.01946, allocations: 34.44 kB / 33.06 MB, free: 6.41 MB / 18.57 MB Notification: Performance of pre-optimization done (n=23): time 2.374e-06/0.01947, allocations: 3.781 kB / 33.06 MB, free: 6.41 MB / 18.57 MB Notification: Performance of matching and sorting (n=23): time 0.0009388/0.02042, allocations: 0.5555 MB / 33.62 MB, free: 6.344 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.02048, allocations: 143.5 kB / 33.76 MB, free: 6.188 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.02068, allocations: 218.1 kB / 33.97 MB, free: 6.078 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.02071, allocations: 35.05 kB / 34.01 MB, free: 6.047 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02085, allocations: 213.5 kB / 34.21 MB, free: 5.91 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 6.193e-05/0.02092, allocations: 80.28 kB / 34.29 MB, free: 5.867 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.908e-05/0.02094, allocations: 4.922 kB / 34.3 MB, free: 5.867 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.021, allocations: 333.5 kB / 34.62 MB, free: 5.555 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.02126, allocations: 167.3 kB / 34.79 MB, free: 5.52 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.02154, allocations: 253.5 kB / 35.03 MB, free: 5.379 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.02198, allocations: 414 kB / 35.44 MB, free: 5.121 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.022, allocations: 3.719 kB / 35.44 MB, free: 5.121 MB / 18.57 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006717/0.02267, allocations: 0.5389 MB / 35.98 MB, free: 4.684 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.02273, allocations: 49.69 kB / 36.03 MB, free: 4.629 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.02274, allocations: 0 / 36.03 MB, free: 4.629 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.02276, allocations: 4.25 kB / 36.03 MB, free: 4.625 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.02296, allocations: 55.91 kB / 36.09 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.02298, allocations: 0 / 36.09 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001593/0.02315, allocations: 56.58 kB / 36.14 MB, free: 4.52 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.02319, allocations: 20 kB / 36.16 MB, free: 4.5 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[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 (36): * Single equations (assignments): 33 * Array equations: 2 * 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.0002473/0.02345, allocations: 258.9 kB / 36.42 MB, free: 4.234 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.02351, allocations: 19.81 kB / 36.44 MB, free: 4.215 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000667/0.02418, allocations: 490.3 kB / 36.91 MB, free: 3.734 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.02421, allocations: 8 kB / 36.92 MB, free: 3.727 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.02422, allocations: 0 / 36.92 MB, free: 3.727 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.02423, allocations: 3.984 kB / 36.93 MB, free: 3.723 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009945/0.02523, allocations: 0.9305 MB / 37.86 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02525, allocations: 0.625 kB / 37.86 MB, free: 2.738 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.02539, allocations: 47.91 kB / 37.9 MB, free: 2.691 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.02541, allocations: 0 / 37.9 MB, free: 2.691 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.02544, allocations: 4 kB / 37.91 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.02544, allocations: 1.375 kB / 37.91 MB, free: 2.688 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.02545, allocations: 4 kB / 37.91 MB, free: 2.684 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008292/0.02628, allocations: 0.7391 MB / 38.65 MB, free: 1.926 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 3.988e-05/0.02633, allocations: 100.8 kB / 38.75 MB, free: 1.809 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.02639, allocations: 15.98 kB / 38.77 MB, free: 1.793 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.02653, allocations: 28.05 kB / 38.79 MB, free: 1.766 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.02667, allocations: 63.02 kB / 38.85 MB, free: 1.707 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.02671, allocations: 19.94 kB / 38.87 MB, free: 1.688 MB / 18.57 MB Notification: Performance of sorting global known variables: time 8.728e-05/0.0268, allocations: 141.2 kB / 39.01 MB, free: 1.551 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.21e-07/0.02681, allocations: 0 / 39.01 MB, free: 1.551 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0004451/0.02726, allocations: 146.4 kB / 39.16 MB, free: 1.414 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: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 2 * 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.0003082/0.02757, allocations: 178.9 kB / 39.33 MB, free: 1.246 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.0006222/0.0282, allocations: 491.5 kB / 39.81 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.02822, allocations: 0.6562 kB / 39.81 MB, free: 0.7539 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.0285, allocations: 275.6 kB / 40.08 MB, free: 484 kB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.02884, allocations: 42.31 kB / 40.12 MB, free: 448 kB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008413/0.03726, allocations: 0.9307 MB / 41.05 MB, free: 6.09 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004383/0.03775, allocations: 0.8387 MB / 41.89 MB, free: 11.78 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.03796, allocations: 58.38 kB / 41.95 MB, free: 11.77 MB / 24.96 MB Notification: Performance of SimCode: time 9.32e-07/0.03797, allocations: 0 / 41.95 MB, free: 11.77 MB / 24.96 MB Notification: Performance of Templates: time 0.007437/0.04541, allocations: 5.262 MB / 47.21 MB, free: 7.906 MB / 24.96 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test5.makefile (rm -f ConPNlib_ConPNlib.Examples.Test5.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test5.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test5.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test5.sim & ./ConPNlib_ConPNlib.Examples.Test5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test5.pipe 2>&1)