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.005147/0.005147, allocations: 1.376 MB / 16.98 MB, free: 5.145 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.419e-05, allocations: 0 / 23.88 MB, free: 3.934 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004869/0.0005181, allocations: 357.6 kB / 24.23 MB, free: 3.637 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test9): time 0.001025/0.00155, allocations: 1.413 MB / 25.64 MB, free: 2.223 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.002576, allocations: 0.8383 MB / 26.48 MB, free: 1.383 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.002748, allocations: 11.88 kB / 26.49 MB, free: 1.371 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.00294, allocations: 103.2 kB / 26.59 MB, free: 1.27 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.003519, allocations: 293.5 kB / 26.88 MB, free: 0.9844 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 9.444e-05/0.003623, allocations: 39.95 kB / 26.91 MB, free: 0.9453 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.003977, allocations: 0.5608 MB / 27.48 MB, free: 392 kB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.004226, allocations: 269.6 kB / 27.74 MB, free: 104 kB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.004422, allocations: 226 kB / 27.96 MB, free: 4.527 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.004651, allocations: 234.4 kB / 28.19 MB, free: 4.297 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.004711, allocations: 24 kB / 28.21 MB, free: 4.273 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003115/0.005029, allocations: 211.7 kB / 28.42 MB, free: 4.066 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.005154, allocations: 143.3 kB / 28.56 MB, free: 3.926 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 9.919e-05/0.00526, allocations: 121.3 kB / 28.68 MB, free: 3.801 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005365/0.005802, allocations: 0.6005 MB / 29.28 MB, free: 3.199 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005813, allocations: 0 / 29.28 MB, free: 3.199 MB / 18.57 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005819, allocations: 0 / 29.28 MB, free: 3.199 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.005833, allocations: 4 kB / 29.28 MB, free: 3.195 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.0009289/0.006767, allocations: 0.8459 MB / 30.13 MB, free: 2.289 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.006805, allocations: 12.28 kB / 30.14 MB, free: 2.277 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.00694, allocations: 80.02 kB / 30.22 MB, free: 2.199 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.007438, allocations: 423.8 kB / 30.63 MB, free: 1.746 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.007507, allocations: 70.33 kB / 30.7 MB, free: 1.676 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.007621, allocations: 88.33 kB / 30.79 MB, free: 1.59 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.009359, allocations: 1.219 MB / 32.01 MB, free: 356 kB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.009389, allocations: 176 / 32.01 MB, free: 356 kB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.089e-05/0.009466, allocations: 36.33 kB / 32.04 MB, free: 320 kB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.009586, allocations: 81.89 kB / 32.12 MB, free: 236 kB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006193/0.01579, allocations: 0.8707 MB / 32.99 MB, free: 7.379 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/0.01824, allocations: 2.421 MB / 35.41 MB, free: 5.84 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.01894, allocations: 0.6517 MB / 36.06 MB, free: 5.191 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003879/0.01934, allocations: 369.5 kB / 36.43 MB, free: 4.832 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003064/0.01966, allocations: 0.5993 MB / 37.02 MB, free: 4.105 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.715e-05/0.01969, allocations: 42.81 kB / 37.07 MB, free: 4.055 MB / 18.57 MB Notification: Performance of pre-optimization done (n=42): time 2.385e-06/0.0197, allocations: 0 / 37.07 MB, free: 4.055 MB / 18.57 MB Notification: Performance of matching and sorting (n=42): time 0.00253/0.02223, allocations: 1.402 MB / 38.47 MB, free: 2.625 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.0223, allocations: 212.2 kB / 38.68 MB, free: 2.371 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.02253, allocations: 314.2 kB / 38.98 MB, free: 2.055 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.02257, allocations: 41.7 kB / 39.02 MB, free: 2.008 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.0227, allocations: 343.7 kB / 39.36 MB, free: 1.676 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.02278, allocations: 139 kB / 39.49 MB, free: 1.543 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/0.02282, allocations: 12 kB / 39.51 MB, free: 1.531 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 4.939e-05/0.02287, allocations: 346.8 kB / 39.85 MB, free: 1.184 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.02326, allocations: 308.9 kB / 40.15 MB, free: 0.8828 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.0237, allocations: 455.2 kB / 40.59 MB, free: 388 kB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005639/0.02934, allocations: 377.9 kB / 40.96 MB, free: 6.133 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.02936, allocations: 1.5 kB / 40.96 MB, free: 6.133 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001435/0.0308, allocations: 1.068 MB / 42.03 MB, free: 6.023 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.03087, allocations: 87.25 kB / 42.12 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.03089, allocations: 7.469 kB / 42.12 MB, free: 5.961 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.03333, allocations: 427.6 kB / 42.54 MB, free: 5.953 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.03357, allocations: 76.56 kB / 42.62 MB, free: 5.945 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005198/0.0341, allocations: 0.7806 MB / 43.4 MB, free: 5.426 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.03437, allocations: 87.09 kB / 43.48 MB, free: 5.426 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.03444, allocations: 35.22 kB / 43.52 MB, free: 5.406 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P3.fireIn[1],P3.feeding,P2.outTransition[1].arcType,P1.outTransition[1].arcType,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],T1.activation.arcType[1],T2.activation.arcType[1],T2.activation.emptied[1],T1.activation.fed[1],T2.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 (56): * Single equations (assignments): 53 * 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.0003942/0.03484, allocations: 387.3 kB / 43.89 MB, free: 5.125 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.03491, allocations: 35.94 kB / 43.93 MB, free: 5.105 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/0.03613, allocations: 0.9901 MB / 44.92 MB, free: 4.176 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.03617, allocations: 23.94 kB / 44.94 MB, free: 4.152 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.03618, allocations: 0 / 44.94 MB, free: 4.152 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.03619, allocations: 0 / 44.94 MB, free: 4.152 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001664/0.03786, allocations: 1.658 MB / 46.6 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03787, allocations: 0 / 46.6 MB, free: 2.449 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.03803, allocations: 43.92 kB / 46.64 MB, free: 2.406 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008381/0.03888, allocations: 334.1 kB / 46.97 MB, free: 2.078 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.707e-05/0.03893, allocations: 26.06 kB / 46.99 MB, free: 2.055 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004768/0.03941, allocations: 0.7991 MB / 47.79 MB, free: 1.242 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.03942, allocations: 3.938 kB / 47.8 MB, free: 1.238 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007091/0.04652, allocations: 1.4 MB / 49.2 MB, free: 5.852 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.0466, allocations: 110.8 kB / 49.31 MB, free: 5.758 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.293e-05/0.04668, allocations: 24.48 kB / 49.33 MB, free: 5.758 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.0469, allocations: 51.22 kB / 49.38 MB, free: 5.758 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.04708, allocations: 116 kB / 49.49 MB, free: 5.758 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-05/0.04713, allocations: 26.44 kB / 49.52 MB, free: 5.758 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001291/0.04727, allocations: 193 kB / 49.71 MB, free: 5.68 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.4e-07/0.04728, allocations: 3.812 kB / 49.71 MB, free: 5.68 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005324/0.04781, allocations: 233.8 kB / 49.94 MB, free: 5.668 MB / 18.57 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 (P1.fireOut[1],P2.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P2.fireOut[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P3.fireIn[1]) * 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.0002448/0.04806, allocations: 208 kB / 50.14 MB, free: 5.574 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.0492, allocations: 0.96 MB / 51.1 MB, free: 5.398 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.04922, allocations: 0 / 51.1 MB, free: 5.398 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.04979, allocations: 0.5469 MB / 51.65 MB, free: 5.133 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.05015, allocations: 59.59 kB / 51.71 MB, free: 5.105 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.05181, allocations: 1.661 MB / 53.37 MB, free: 3.547 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.05211, allocations: 0.9874 MB / 54.36 MB, free: 2.543 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.797e-05/0.0522, allocations: 51.09 kB / 54.41 MB, free: 2.5 MB / 18.57 MB Notification: Performance of SimCode: time 2.2e-07/0.05221, allocations: 0 / 54.41 MB, free: 2.5 MB / 18.57 MB Notification: Performance of Templates: time 0.01731/0.06952, allocations: 11.58 MB / 65.98 MB, free: 2.66 MB / 24.77 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)