Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test9.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.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") translateModel(ConPNlib.Examples.Test9,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.00555/0.00555, allocations: 1.364 MB / 17.31 MB, free: 4.5 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.515e-05, allocations: 0 / 24.32 MB, free: 3.129 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006071/0.0006388, allocations: 354.8 kB / 24.67 MB, free: 2.805 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004129/0.004776, allocations: 4.138 MB / 28.81 MB, free: 3.305 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001314/0.004931, allocations: 51.86 kB / 28.86 MB, free: 3.258 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.03515/0.04009, allocations: 10.8 MB / 39.66 MB, free: 1.723 MB / 18.57 MB Notification: Performance of FrontEnd: time 2.394e-06/0.04014, allocations: 4 kB / 39.66 MB, free: 1.719 MB / 18.57 MB Notification: Performance of Transformations before backend: time 3.839e-05/0.04018, allocations: 19.34 kB / 39.68 MB, free: 1.703 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.001477/0.04167, allocations: 0.8769 MB / 40.56 MB, free: 0.7656 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.04172, allocations: 8.312 kB / 40.57 MB, free: 0.7578 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.042, allocations: 80.09 kB / 40.65 MB, free: 0.6797 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006677/0.04267, allocations: 469.7 kB / 41.1 MB, free: 180 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.04275, allocations: 70.36 kB / 41.17 MB, free: 112 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.04293, allocations: 88.36 kB / 41.26 MB, free: 24 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01276/0.0557, allocations: 1.176 MB / 42.44 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.05579, allocations: 4.359 kB / 42.44 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.05594, allocations: 41.8 kB / 42.48 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.05606, allocations: 56.81 kB / 42.54 MB, free: 1.672 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.05748, allocations: 0.8279 MB / 43.36 MB, free: 1.664 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.06031, allocations: 2.046 MB / 45.41 MB, free: 1.098 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007665/0.0611, allocations: 0.6289 MB / 46.04 MB, free: 0.75 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004376/0.06155, allocations: 361.4 kB / 46.39 MB, free: 0.6211 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007771/0.06234, allocations: 1.029 MB / 47.42 MB, free: 5.699 MB / 24.79 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.06239, allocations: 41.38 kB / 47.46 MB, free: 5.652 MB / 24.79 MB Notification: Performance of pre-optimization done (n=42): time 3.427e-06/0.0624, allocations: 0 / 47.46 MB, free: 5.652 MB / 24.79 MB Notification: Performance of matching and sorting (n=42): time 0.002847/0.06525, allocations: 1.371 MB / 48.83 MB, free: 4.883 MB / 24.79 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.06541, allocations: 214.7 kB / 49.04 MB, free: 4.637 MB / 24.79 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004407/0.06588, allocations: 315.3 kB / 49.35 MB, free: 4.363 MB / 24.79 MB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.06595, allocations: 43.48 kB / 49.39 MB, free: 4.316 MB / 24.79 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.06621, allocations: 349.2 kB / 49.73 MB, free: 4.039 MB / 24.79 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.06634, allocations: 134.3 kB / 49.86 MB, free: 3.926 MB / 24.79 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.06639, allocations: 16 kB / 49.88 MB, free: 3.91 MB / 24.79 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.06652, allocations: 341.3 kB / 50.21 MB, free: 3.578 MB / 24.79 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.06701, allocations: 295.9 kB / 50.5 MB, free: 3.34 MB / 24.79 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005881/0.06761, allocations: 461.1 kB / 50.95 MB, free: 2.883 MB / 24.79 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.06863, allocations: 0.7768 MB / 51.73 MB, free: 2.102 MB / 24.79 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.06865, allocations: 7.281 kB / 51.74 MB, free: 2.098 MB / 24.79 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001742/0.0704, allocations: 1.045 MB / 52.78 MB, free: 1.164 MB / 24.79 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-05/0.0705, allocations: 90.05 kB / 52.87 MB, free: 1.07 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.07052, allocations: 4 kB / 52.87 MB, free: 1.066 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/0.07238, allocations: 450.5 kB / 53.31 MB, free: 0.7383 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.07265, allocations: 76.66 kB / 53.39 MB, free: 0.6719 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.08478, allocations: 0.7837 MB / 54.17 MB, free: 6.25 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.08529, allocations: 77.05 kB / 54.25 MB, free: 6.25 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.08547, allocations: 41.73 kB / 54.29 MB, free: 6.25 MB / 24.79 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P1.feeding,P1.outTransition[1].arcType,P2.outTransition[1].arcType,P3.emptying,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],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces,T2.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 55 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006591/0.08615, allocations: 399.1 kB / 54.68 MB, free: 6.07 MB / 24.79 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.08628, allocations: 41.14 kB / 54.72 MB, free: 6.07 MB / 24.79 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.0879, allocations: 0.9841 MB / 55.7 MB, free: 5.953 MB / 24.79 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.611e-05/0.08794, allocations: 10.06 kB / 55.71 MB, free: 5.953 MB / 24.79 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.08795, allocations: 0 / 55.71 MB, free: 5.953 MB / 24.79 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.08797, allocations: 3.062 kB / 55.71 MB, free: 5.953 MB / 24.79 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/0.09004, allocations: 1.62 MB / 57.34 MB, free: 5.582 MB / 24.79 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.09006, allocations: 1.312 kB / 57.34 MB, free: 5.582 MB / 24.79 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.09023, allocations: 42.52 kB / 57.38 MB, free: 5.582 MB / 24.79 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009648/0.09121, allocations: 360.3 kB / 57.73 MB, free: 5.574 MB / 24.79 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.09126, allocations: 15.56 kB / 57.74 MB, free: 5.574 MB / 24.79 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006153/0.09189, allocations: 0.8142 MB / 58.56 MB, free: 5.055 MB / 24.79 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.0919, allocations: 0 / 58.56 MB, free: 5.055 MB / 24.79 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.09364, allocations: 1.378 MB / 59.94 MB, free: 4.746 MB / 24.79 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.09372, allocations: 108.4 kB / 60.04 MB, free: 4.652 MB / 24.79 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.569e-05/0.09381, allocations: 25.28 kB / 60.07 MB, free: 4.641 MB / 24.79 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.09405, allocations: 50.2 kB / 60.12 MB, free: 4.633 MB / 24.79 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.09428, allocations: 113.7 kB / 60.23 MB, free: 4.605 MB / 24.79 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.09435, allocations: 33.16 kB / 60.26 MB, free: 4.602 MB / 24.79 MB Notification: Performance of sorting global known variables: time 0.0001636/0.09452, allocations: 196.9 kB / 60.45 MB, free: 4.492 MB / 24.79 MB Notification: Performance of sort global known variables: time 7.72e-07/0.09453, allocations: 0 / 60.45 MB, free: 4.492 MB / 24.79 MB Notification: Performance of remove unused functions: time 0.0007233/0.09526, allocations: 237 kB / 60.68 MB, free: 4.469 MB / 24.79 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: 14 (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],T2.activation.weaklyOutputActiveVec[1],P3.fireIn[1],P3.feeding) * Number of discrete states: 10 (P3.fireIn[1],P2.fireOut[1],P2.fireIn[1],P1.fireOut[1],T1.activation.weaklyOutputActiveVec[1],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 (29): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004376/0.0957, allocations: 224.5 kB / 60.9 MB, free: 4.293 MB / 24.79 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.09698, allocations: 0.9588 MB / 61.86 MB, free: 3.449 MB / 24.79 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.09699, allocations: 3.625 kB / 61.87 MB, free: 3.449 MB / 24.79 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.09759, allocations: 0.5485 MB / 62.41 MB, free: 2.949 MB / 24.79 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.09803, allocations: 53.16 kB / 62.47 MB, free: 2.902 MB / 24.79 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1, allocations: 1.57 MB / 64.04 MB, free: 1.492 MB / 24.79 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.1005, allocations: 1.021 MB / 65.06 MB, free: 0.5625 MB / 24.79 MB Notification: Performance of simCode: alias equations: time 0.0002076/0.1007, allocations: 97.88 kB / 65.15 MB, free: 0.5039 MB / 24.79 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/0.1008, allocations: 30.16 kB / 65.18 MB, free: 492 kB / 24.79 MB Notification: Performance of SimCode: time 5.91e-07/0.1008, allocations: 0 / 65.18 MB, free: 492 kB / 24.79 MB Notification: Performance of Templates: time 0.0212/0.122, allocations: 7.78 MB / 72.96 MB, free: 3.285 MB / 24.79 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test9.makefile (rm -f ConPNlib_ConPNlib.Examples.Test9.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test9.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test9.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test9.sim & ./ConPNlib_ConPNlib.Examples.Test9 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test9.pipe 2>&1)