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.005489/0.005489, allocations: 1.363 MB / 17.31 MB, free: 4.5 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.417e-05/1.429e-05, allocations: 0 / 24.32 MB, free: 3.129 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004795/0.0005112, allocations: 352.4 kB / 24.67 MB, free: 2.805 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.003793/0.004313, allocations: 4.181 MB / 28.85 MB, free: 3.262 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 8.076e-05/0.00441, allocations: 55.86 kB / 28.9 MB, free: 3.211 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04257/0.04699, allocations: 13.69 MB / 42.59 MB, free: 7.195 MB / 24.96 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04702, allocations: 3.375 kB / 42.6 MB, free: 7.195 MB / 24.96 MB Notification: Performance of Transformations before backend: time 3.991e-05/0.04707, allocations: 19.83 kB / 42.62 MB, free: 7.195 MB / 24.96 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.001502/0.04858, allocations: 1.052 MB / 43.67 MB, free: 6.57 MB / 24.96 MB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.04862, allocations: 7.969 kB / 43.68 MB, free: 6.57 MB / 24.96 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002585/0.04888, allocations: 109.5 kB / 43.78 MB, free: 6.52 MB / 24.96 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.04958, allocations: 0.5302 MB / 44.31 MB, free: 6.262 MB / 24.96 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/0.04965, allocations: 97.11 kB / 44.41 MB, free: 6.258 MB / 24.96 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.0498, allocations: 115.5 kB / 44.52 MB, free: 6.258 MB / 24.96 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.05172, allocations: 1.535 MB / 46.06 MB, free: 6.09 MB / 24.96 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.05176, allocations: 192 / 46.06 MB, free: 6.09 MB / 24.96 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.05186, allocations: 55 kB / 46.11 MB, free: 6.086 MB / 24.96 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.413e-05/0.05196, allocations: 81.31 kB / 46.19 MB, free: 6.082 MB / 24.96 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.0534, allocations: 1.066 MB / 47.26 MB, free: 6.066 MB / 24.96 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003285/0.05669, allocations: 2.762 MB / 50.02 MB, free: 4.348 MB / 24.96 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009198/0.05763, allocations: 0.6208 MB / 50.64 MB, free: 3.773 MB / 24.96 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005367/0.05818, allocations: 428.7 kB / 51.06 MB, free: 3.406 MB / 24.96 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004843/0.05867, allocations: 0.5998 MB / 51.66 MB, free: 2.699 MB / 24.96 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/0.05872, allocations: 44.72 kB / 51.7 MB, free: 2.648 MB / 24.96 MB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.05873, allocations: 3.047 kB / 51.7 MB, free: 2.648 MB / 24.96 MB Notification: Performance of matching and sorting (n=50): time 0.001709/0.06044, allocations: 1.041 MB / 52.75 MB, free: 1.73 MB / 24.96 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.06058, allocations: 266.6 kB / 53.01 MB, free: 1.422 MB / 24.96 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003997/0.06099, allocations: 434.8 kB / 53.43 MB, free: 1.047 MB / 24.96 MB Notification: Performance of collectPreVariables (initialization): time 4.915e-05/0.06104, allocations: 40.89 kB / 53.47 MB, free: 1.004 MB / 24.96 MB Notification: Performance of collectInitialEqns (initialization): time 0.000276/0.06133, allocations: 454.3 kB / 53.91 MB, free: 0.6094 MB / 24.96 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.06147, allocations: 160.9 kB / 54.07 MB, free: 480 kB / 24.96 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.06151, allocations: 22.42 kB / 54.09 MB, free: 460 kB / 24.96 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.06166, allocations: 358.9 kB / 54.44 MB, free: 108 kB / 24.96 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.06305, allocations: 418.8 kB / 54.85 MB, free: 0 / 24.96 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01067/0.07373, allocations: 0.6817 MB / 55.53 MB, free: 5.434 MB / 24.96 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.07479, allocations: 0.9682 MB / 56.5 MB, free: 5.039 MB / 24.96 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.07481, allocations: 0 / 56.5 MB, free: 5.039 MB / 24.96 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001384/0.0762, allocations: 1.104 MB / 57.61 MB, free: 4.926 MB / 24.96 MB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.07627, allocations: 89.55 kB / 57.69 MB, free: 4.863 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.07629, allocations: 7.344 kB / 57.7 MB, free: 4.863 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.07632, allocations: 12.91 kB / 57.71 MB, free: 4.863 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000318/0.07665, allocations: 127.1 kB / 57.84 MB, free: 4.852 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.07667, allocations: 18.8 kB / 57.86 MB, free: 4.848 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.07699, allocations: 104.8 kB / 57.96 MB, free: 4.848 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/0.07708, allocations: 57.73 kB / 58.01 MB, free: 4.848 MB / 24.96 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 39 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireOut[1],$PRE.P2.fireOut[2],P2.emptying,$PRE.P3.fireIn[1],P3.feeding,$PRE.P4.fireIn[1],P4.feeding,P1.feeding,P1.outTransition[1].arcType,P3.emptying,P4.emptying,P2.feeding,P2.outTransition[1].arcType,IA1.outTransition.arcType,P1.fireOut[1],P2.fireOut[1],P2.fireOut[2],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyInputActiveVec[2],T1.activation.weaklyOutputActiveVec[1],T2.activation.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P4.fireIn[1],T1.activation.arcType[2],T2.activation.arcType[1],T2.activation.fed[1],T1.activation.fed[2],T2.activation.emptied[1],T1.activation.emptied[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.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 (91): * Single equations (assignments): 85 * Array equations: 4 * Algorithm blocks: 2 * 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.0004253/0.07751, allocations: 460.1 kB / 58.46 MB, free: 4.66 MB / 24.96 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.07759, allocations: 46.53 kB / 58.51 MB, free: 4.66 MB / 24.96 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.07882, allocations: 0.9291 MB / 59.44 MB, free: 4.543 MB / 24.96 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.338e-05/0.07885, allocations: 8 kB / 59.45 MB, free: 4.543 MB / 24.96 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.07886, allocations: 0 / 59.45 MB, free: 4.543 MB / 24.96 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.07888, allocations: 4.25 kB / 59.45 MB, free: 4.543 MB / 24.96 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001782/0.08066, allocations: 1.687 MB / 61.14 MB, free: 4.121 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.08068, allocations: 0 / 61.14 MB, free: 4.121 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.08093, allocations: 76.31 kB / 61.21 MB, free: 4.117 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.08094, allocations: 0 / 61.21 MB, free: 4.117 MB / 24.96 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.08099, allocations: 25.02 kB / 61.24 MB, free: 4.109 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.08099, allocations: 3.688 kB / 61.24 MB, free: 4.109 MB / 24.96 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.081, allocations: 7.922 kB / 61.25 MB, free: 4.102 MB / 24.96 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.0825, allocations: 1.352 MB / 62.6 MB, free: 3.113 MB / 24.96 MB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.08256, allocations: 121.3 kB / 62.72 MB, free: 3.004 MB / 24.96 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.726e-05/0.08265, allocations: 30.88 kB / 62.75 MB, free: 2.98 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.08288, allocations: 57.92 kB / 62.8 MB, free: 2.938 MB / 24.96 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.0831, allocations: 137 kB / 62.94 MB, free: 2.844 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.08316, allocations: 36.64 kB / 62.97 MB, free: 2.812 MB / 24.96 MB Notification: Performance of sorting global known variables: time 0.0002305/0.0834, allocations: 252.1 kB / 63.22 MB, free: 2.602 MB / 24.96 MB Notification: Performance of sort global known variables: time 1.6e-07/0.0834, allocations: 4 kB / 63.22 MB, free: 2.598 MB / 24.96 MB Notification: Performance of remove unused functions: time 0.0006835/0.08409, allocations: 273.5 kB / 63.49 MB, free: 2.383 MB / 24.96 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: 16 (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.active,T2.activation.weaklyInputActiveVec[1],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding,P4.fireIn[1],P4.feeding) * Number of discrete states: 12 (P4.fireIn[1],P3.fireIn[1],P2.fireOut[1],P2.fireOut[2],P1.fireOut[1],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 43 * Array equations: 4 * Algorithm blocks: 2 * 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.0003291/0.08443, allocations: 228.5 kB / 63.71 MB, free: 2.188 MB / 24.96 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.08565, allocations: 1.108 MB / 64.82 MB, free: 1.18 MB / 24.96 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.08567, allocations: 5.688 kB / 64.83 MB, free: 1.176 MB / 24.96 MB Notification: Performance of simCode: created simulation system equations: time 0.0005701/0.08625, allocations: 0.5948 MB / 65.42 MB, free: 0.6328 MB / 24.96 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008634/0.09489, allocations: 80.58 kB / 65.5 MB, free: 5.418 MB / 24.96 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.09706, allocations: 2.028 MB / 67.53 MB, free: 4.57 MB / 24.96 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.09749, allocations: 1.113 MB / 68.64 MB, free: 3.875 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0004088/0.0979, allocations: 193 kB / 68.83 MB, free: 3.867 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.09805, allocations: 67.33 kB / 68.9 MB, free: 3.867 MB / 24.96 MB Notification: Performance of SimCode: time 1.012e-06/0.09805, allocations: 0 / 68.9 MB, free: 3.867 MB / 24.96 MB Notification: Performance of Templates: time 0.01926/0.1173, allocations: 7.38 MB / 76.28 MB, free: 3.32 MB / 24.96 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)