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.005475/0.005475, allocations: 1.364 MB / 17.31 MB, free: 4.398 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.558e-05/1.59e-05, allocations: 0 / 24.32 MB, free: 3.039 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004743/0.0005114, allocations: 356 kB / 24.67 MB, free: 2.719 MB / 13.93 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004322/0.004845, allocations: 4.141 MB / 28.81 MB, free: 3.219 MB / 18.57 MB Notification: Performance of FrontEnd - mkProgramGraph: time 7.402e-05/0.004937, allocations: 51.86 kB / 28.86 MB, free: 3.172 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 0.04666/0.05161, allocations: 12.82 MB / 41.68 MB, free: 6.961 MB / 24.96 MB Notification: Performance of FrontEnd: time 2.966e-06/0.05166, allocations: 0 / 41.68 MB, free: 6.961 MB / 24.96 MB Notification: Performance of Transformations before backend: time 5.375e-05/0.05172, allocations: 16.66 kB / 41.7 MB, free: 6.961 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002108/0.05384, allocations: 1.009 MB / 42.71 MB, free: 6.324 MB / 24.96 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.05389, allocations: 9.281 kB / 42.72 MB, free: 6.324 MB / 24.96 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003509/0.05424, allocations: 102 kB / 42.82 MB, free: 6.277 MB / 24.96 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009179/0.05517, allocations: 0.514 MB / 43.33 MB, free: 6.027 MB / 24.96 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.342e-05/0.05527, allocations: 87.97 kB / 43.42 MB, free: 6.023 MB / 24.96 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000218/0.0555, allocations: 109.1 kB / 43.52 MB, free: 6.023 MB / 24.96 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.05766, allocations: 1.435 MB / 44.96 MB, free: 5.883 MB / 24.96 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.0577, allocations: 4.125 kB / 44.96 MB, free: 5.879 MB / 24.96 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.0578, allocations: 55.5 kB / 45.02 MB, free: 5.875 MB / 24.96 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.05791, allocations: 69.5 kB / 45.09 MB, free: 5.871 MB / 24.96 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/0.05944, allocations: 1.013 MB / 46.1 MB, free: 5.863 MB / 24.96 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/0.06308, allocations: 2.518 MB / 48.62 MB, free: 4.852 MB / 24.96 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.06407, allocations: 0.7428 MB / 49.36 MB, free: 4.449 MB / 24.96 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00058/0.06466, allocations: 444.2 kB / 49.79 MB, free: 4.168 MB / 24.96 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007646/0.06544, allocations: 0.8554 MB / 50.65 MB, free: 3.16 MB / 24.96 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.06549, allocations: 39.75 kB / 50.69 MB, free: 3.113 MB / 24.96 MB Notification: Performance of pre-optimization done (n=52): time 2.865e-06/0.0655, allocations: 0.7188 kB / 50.69 MB, free: 3.113 MB / 24.96 MB Notification: Performance of matching and sorting (n=52): time 0.003396/0.0689, allocations: 1.67 MB / 52.36 MB, free: 1.684 MB / 24.96 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.06907, allocations: 240.8 kB / 52.59 MB, free: 1.406 MB / 24.96 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.06953, allocations: 359.9 kB / 52.95 MB, free: 1.094 MB / 24.96 MB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.0696, allocations: 37.7 kB / 52.98 MB, free: 1.051 MB / 24.96 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003027/0.06991, allocations: 400.6 kB / 53.37 MB, free: 0.6992 MB / 24.96 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.07007, allocations: 157.2 kB / 53.53 MB, free: 0.5625 MB / 24.96 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.07012, allocations: 21.72 kB / 53.55 MB, free: 0.543 MB / 24.96 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.07027, allocations: 357 kB / 53.9 MB, free: 204 kB / 24.96 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009661/0.07124, allocations: 387.5 kB / 54.28 MB, free: 0 / 24.96 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/0.08331, allocations: 0.536 MB / 54.81 MB, free: 5.496 MB / 24.96 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.08428, allocations: 0.959 MB / 55.77 MB, free: 5.125 MB / 24.96 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.0843, allocations: 3.438 kB / 55.77 MB, free: 5.125 MB / 24.96 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001674/0.08598, allocations: 1.27 MB / 57.04 MB, free: 4.98 MB / 24.96 MB Notification: Performance of prepare postOptimizeDAE: time 7.519e-05/0.08607, allocations: 125.9 kB / 57.17 MB, free: 4.887 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.08609, allocations: 3.719 kB / 57.17 MB, free: 4.887 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.08753, allocations: 430.3 kB / 57.59 MB, free: 4.879 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.08776, allocations: 82.05 kB / 57.67 MB, free: 4.871 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006186/0.08839, allocations: 0.8678 MB / 58.54 MB, free: 4.352 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.08872, allocations: 93.09 kB / 58.63 MB, free: 4.352 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.08881, allocations: 51.2 kB / 58.68 MB, free: 4.352 MB / 24.96 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.P2.fireIn[1],P2.feeding,$PRE.P3.fireIn[1],P3.feeding,P2.emptying,P3.emptying,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],T2.outPlaces[1].enabledByInPlaces,T3.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 (68): * Single equations (assignments): 64 * 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 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.000526/0.08935, allocations: 474.7 kB / 59.14 MB, free: 4.133 MB / 24.96 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.066e-05/0.08944, allocations: 43.56 kB / 59.19 MB, free: 4.133 MB / 24.96 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.09112, allocations: 1.26 MB / 60.45 MB, free: 3.965 MB / 24.96 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.357e-05/0.09116, allocations: 13.77 kB / 60.46 MB, free: 3.965 MB / 24.96 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.09117, allocations: 0 / 60.46 MB, free: 3.965 MB / 24.96 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.09118, allocations: 0.6562 kB / 60.46 MB, free: 3.965 MB / 24.96 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.09336, allocations: 1.966 MB / 62.43 MB, free: 2.668 MB / 24.96 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.09338, allocations: 0 / 62.43 MB, free: 2.668 MB / 24.96 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.09356, allocations: 48.61 kB / 62.47 MB, free: 2.629 MB / 24.96 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009768/0.09454, allocations: 409.8 kB / 62.87 MB, free: 2.328 MB / 24.96 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.09461, allocations: 29.16 kB / 62.9 MB, free: 2.309 MB / 24.96 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006018/0.09522, allocations: 0.9004 MB / 63.8 MB, free: 1.461 MB / 24.96 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.09523, allocations: 0 / 63.8 MB, free: 1.461 MB / 24.96 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/0.09781, allocations: 1.823 MB / 65.63 MB, free: 352 kB / 24.96 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008919/0.1067, allocations: 119.2 kB / 65.74 MB, free: 5.52 MB / 24.96 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.107, allocations: 30.58 kB / 65.77 MB, free: 5.52 MB / 24.96 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002895/0.1073, allocations: 55.23 kB / 65.83 MB, free: 5.52 MB / 24.96 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003044/0.1076, allocations: 147.2 kB / 65.97 MB, free: 5.52 MB / 24.96 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.352e-05/0.1077, allocations: 42.09 kB / 66.01 MB, free: 5.52 MB / 24.96 MB Notification: Performance of sorting global known variables: time 0.0002019/0.1079, allocations: 222.7 kB / 66.23 MB, free: 5.441 MB / 24.96 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1079, allocations: 0 / 66.23 MB, free: 5.441 MB / 24.96 MB Notification: Performance of remove unused functions: time 0.0008065/0.1087, allocations: 269 kB / 66.49 MB, free: 5.434 MB / 24.96 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 (P3.fireIn[1],P2.fireIn[1],P1.fireOut[1],P1.fireOut[2],P1.fireIn[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T3.activation.weaklyOutputActiveVec[1],T3.activation.weaklyInputActiveVec[1],T3.activation.active) * 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 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.000338/0.1091, allocations: 228 kB / 66.71 MB, free: 5.332 MB / 24.96 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.1105, allocations: 1.171 MB / 67.88 MB, free: 5.141 MB / 24.96 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1105, allocations: 3.25 kB / 67.89 MB, free: 5.141 MB / 24.96 MB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.1112, allocations: 0.6866 MB / 68.57 MB, free: 4.949 MB / 24.96 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004135/0.1116, allocations: 75.67 kB / 68.65 MB, free: 4.945 MB / 24.96 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.1139, allocations: 1.924 MB / 70.57 MB, free: 4.168 MB / 24.96 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.1144, allocations: 1.089 MB / 71.66 MB, free: 3.473 MB / 24.96 MB Notification: Performance of simCode: alias equations: time 0.0003132/0.1147, allocations: 116.8 kB / 71.78 MB, free: 3.465 MB / 24.96 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.1148, allocations: 39.7 kB / 71.81 MB, free: 3.457 MB / 24.96 MB Notification: Performance of SimCode: time 7.41e-07/0.1148, allocations: 0 / 71.81 MB, free: 3.457 MB / 24.96 MB Notification: Performance of Templates: time 0.0255/0.1403, allocations: 9.172 MB / 80.99 MB, free: 4.414 MB / 24.96 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)