Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test12.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo", uses=false) Using package ConPNlib with version (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.008388/0.008388, allocations: 1.338 MB / 8.813 MB, free: 244 kB / 5.871 MB Notification: Performance of FrontEnd - loaded program: time 2.052e-05/2.062e-05, allocations: 0.875 kB / 13.13 MB, free: 2.281 MB / 7.832 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0006156/0.0006585, allocations: 366.9 kB / 13.49 MB, free: 2.246 MB / 7.832 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.004721/0.005401, allocations: 3.359 MB / 16.85 MB, free: 1.898 MB / 10.45 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001551/0.005608, allocations: 47.98 kB / 16.89 MB, free: 1.852 MB / 10.45 MB Notification: Performance of FrontEnd - DAE generated: time 0.06629/0.07192, allocations: 12.62 MB / 29.52 MB, free: 2.543 MB / 13.93 MB Notification: Performance of FrontEnd: time 2.094e-06/0.07197, allocations: 0 / 29.52 MB, free: 2.543 MB / 13.93 MB Notification: Performance of Transformations before backend: time 5.782e-05/0.07204, allocations: 21.53 kB / 29.54 MB, free: 2.523 MB / 13.93 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.002367/0.07442, allocations: 0.9796 MB / 30.52 MB, free: 1.48 MB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.07449, allocations: 16.5 kB / 30.53 MB, free: 1.469 MB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004782/0.07498, allocations: 99.73 kB / 30.63 MB, free: 1.371 MB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.07666, allocations: 0.5107 MB / 31.14 MB, free: 0.8203 MB / 13.93 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.07683, allocations: 40.34 kB / 31.18 MB, free: 0.7812 MB / 13.93 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004497/0.07729, allocations: 64.34 kB / 31.24 MB, free: 0.7188 MB / 13.93 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01375/0.09107, allocations: 0.9177 MB / 32.16 MB, free: 1.594 MB / 13.93 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003485/0.09461, allocations: 1.251 MB / 33.41 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.609e-05/0.09469, allocations: 0 / 33.41 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.09484, allocations: 4.844 kB / 33.42 MB, free: 1.461 MB / 13.93 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001909/0.09504, allocations: 70.59 kB / 33.48 MB, free: 1.457 MB / 13.93 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0056/0.1007, allocations: 2.299 MB / 35.78 MB, free: 0.7383 MB / 13.93 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1018, allocations: 0.6535 MB / 36.44 MB, free: 352 kB / 13.93 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007468/0.1026, allocations: 395.7 kB / 36.82 MB, free: 196 kB / 13.93 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.1037, allocations: 0.8651 MB / 37.69 MB, free: 3.906 MB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/0.1038, allocations: 34.94 kB / 37.72 MB, free: 3.863 MB / 18.59 MB Notification: Performance of pre-optimization done (n=52): time 4.348e-06/0.1038, allocations: 0 / 37.72 MB, free: 3.863 MB / 18.59 MB Notification: Performance of matching and sorting (n=52): time 0.002493/0.1063, allocations: 0.7484 MB / 38.47 MB, free: 3.484 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002048/0.1066, allocations: 250.4 kB / 38.72 MB, free: 3.199 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004885/0.1071, allocations: 266 kB / 38.98 MB, free: 2.965 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/0.1073, allocations: 37.7 kB / 39.01 MB, free: 2.922 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/0.1078, allocations: 401.2 kB / 39.4 MB, free: 2.57 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.1082, allocations: 151.8 kB / 39.55 MB, free: 2.438 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.1083, allocations: 4 kB / 39.56 MB, free: 2.434 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.1085, allocations: 348.7 kB / 39.9 MB, free: 2.094 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000906/0.1094, allocations: 316.6 kB / 40.21 MB, free: 1.824 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/0.1105, allocations: 498.7 kB / 40.69 MB, free: 1.316 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.1116, allocations: 334.3 kB / 41.02 MB, free: 1.059 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.1117, allocations: 4 kB / 41.02 MB, free: 1.055 MB / 18.59 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003032/0.1148, allocations: 0.939 MB / 41.96 MB, free: 240 kB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001821/0.115, allocations: 125 kB / 42.08 MB, free: 108 kB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.115, allocations: 6.812 kB / 42.09 MB, free: 104 kB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01499/0.13, allocations: 400.6 kB / 42.48 MB, free: 5.32 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.1306, allocations: 87.52 kB / 42.57 MB, free: 5.32 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.132, allocations: 0.9179 MB / 43.49 MB, free: 4.805 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/0.1328, allocations: 73.86 kB / 43.56 MB, free: 4.805 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.133, allocations: 45.03 kB / 43.6 MB, free: 4.805 MB / 18.59 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: T2.speedSumIn[1]:VARIABLE(protected = true ) "Input speeds of continuous input places" type: Real [1] 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 () * 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.0004537/0.1335, allocations: 277.3 kB / 43.87 MB, free: 4.598 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.1337, allocations: 43.55 kB / 43.91 MB, free: 4.598 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.1364, allocations: 0.9433 MB / 44.86 MB, free: 4.547 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/0.1365, allocations: 5.719 kB / 44.86 MB, free: 4.547 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1365, allocations: 0 / 44.86 MB, free: 4.547 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.1366, allocations: 2.578 kB / 44.87 MB, free: 4.547 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.1402, allocations: 1.503 MB / 46.37 MB, free: 4.262 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.1403, allocations: 0 / 46.37 MB, free: 4.262 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.1406, allocations: 48.95 kB / 46.42 MB, free: 4.258 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.1424, allocations: 378.9 kB / 46.79 MB, free: 4.246 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.1426, allocations: 22.95 kB / 46.81 MB, free: 4.242 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/0.144, allocations: 0.9479 MB / 47.76 MB, free: 3.578 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.144, allocations: 4.125 kB / 47.76 MB, free: 3.574 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003216/0.1472, allocations: 1.342 MB / 49.1 MB, free: 2.406 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.1474, allocations: 109.3 kB / 49.21 MB, free: 2.305 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.1476, allocations: 24.72 kB / 49.23 MB, free: 2.285 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004826/0.1481, allocations: 46.88 kB / 49.28 MB, free: 2.25 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004011/0.1485, allocations: 146.6 kB / 49.42 MB, free: 2.152 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.1486, allocations: 39.12 kB / 49.46 MB, free: 2.121 MB / 18.59 MB Notification: Performance of sorting global known variables: time 0.000182/0.1488, allocations: 160.2 kB / 49.62 MB, free: 1.969 MB / 18.59 MB Notification: Performance of sort global known variables: time 4e-07/0.1488, allocations: 0 / 49.62 MB, free: 1.969 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.001103/0.1499, allocations: 257 kB / 49.87 MB, free: 1.762 MB / 18.59 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) * 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.0005508/0.1505, allocations: 225.8 kB / 50.09 MB, free: 1.574 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.1525, allocations: 1.076 MB / 51.17 MB, free: 0.5586 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.1526, allocations: 2.344 kB / 51.17 MB, free: 0.5586 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.01344/0.1661, allocations: 0.6444 MB / 51.81 MB, free: 5.059 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.1667, allocations: 43.64 kB / 51.85 MB, free: 5.059 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.17, allocations: 1.315 MB / 53.17 MB, free: 4.773 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007286/0.1708, allocations: 1.105 MB / 54.27 MB, free: 4.078 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.1713, allocations: 113.7 kB / 54.39 MB, free: 4.07 MB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1714, allocations: 37.72 kB / 54.42 MB, free: 4.066 MB / 18.59 MB Notification: Performance of SimCode: time 1.192e-06/0.1714, allocations: 0 / 54.42 MB, free: 4.066 MB / 18.59 MB Notification: Performance of Templates: time 0.03647/0.2079, allocations: 8.804 MB / 63.23 MB, free: 3.883 MB / 18.59 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)