Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test6.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.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") translateModel(ConPNlib.Examples.Test6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.009368/0.009368, allocations: 1.363 MB / 16.33 MB, free: 5.344 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.263e-05/1.271e-05, allocations: 4 kB / 23.24 MB, free: 4.027 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0004176/0.0004443, allocations: 358.8 kB / 23.59 MB, free: 3.875 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test6): time 0.0008287/0.00128, allocations: 0.939 MB / 24.53 MB, free: 3.125 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.0007859/0.002077, allocations: 0.6422 MB / 25.17 MB, free: 2.48 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.002195, allocations: 3.938 kB / 25.17 MB, free: 2.477 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.002347, allocations: 59.53 kB / 25.23 MB, free: 2.418 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005288/0.002883, allocations: 225.2 kB / 25.45 MB, free: 2.199 MB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 6.949e-05/0.002963, allocations: 31.97 kB / 25.48 MB, free: 2.168 MB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0002237/0.003195, allocations: 315.8 kB / 25.79 MB, free: 1.859 MB / 13.93 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.003376, allocations: 145.1 kB / 25.93 MB, free: 1.703 MB / 13.93 MB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.003479, allocations: 123.3 kB / 26.05 MB, free: 1.582 MB / 13.93 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.003618, allocations: 123.2 kB / 26.17 MB, free: 1.461 MB / 13.93 MB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.003655, allocations: 15.98 kB / 26.19 MB, free: 1.445 MB / 13.93 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.003899, allocations: 195.6 kB / 26.38 MB, free: 1.254 MB / 13.93 MB Notification: Performance of NFScalarize.scalarize: time 6.343e-05/0.00397, allocations: 67.7 kB / 26.44 MB, free: 1.188 MB / 13.93 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.004031, allocations: 77.52 kB / 26.52 MB, free: 1.105 MB / 13.93 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.004347, allocations: 387.3 kB / 26.9 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.004359, allocations: 0 / 26.9 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of FrontEnd: time 1.734e-06/0.004368, allocations: 0 / 26.9 MB, free: 0.7266 MB / 13.93 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.00438, allocations: 0 / 26.9 MB, free: 0.7266 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.000629/0.005013, allocations: 0.602 MB / 27.5 MB, free: 72 kB / 13.93 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.005055, allocations: 12.3 kB / 27.51 MB, free: 60 kB / 13.93 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.223e-05/0.005133, allocations: 40.39 kB / 27.55 MB, free: 20 kB / 13.93 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.005496, allocations: 300.9 kB / 27.85 MB, free: 4.348 MB / 18.59 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.844e-05/0.005555, allocations: 41.33 kB / 27.89 MB, free: 4.309 MB / 18.59 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.121e-05/0.005632, allocations: 44.34 kB / 27.93 MB, free: 4.266 MB / 18.59 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009863/0.006625, allocations: 0.6407 MB / 28.57 MB, free: 3.605 MB / 18.59 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.006649, allocations: 176 / 28.57 MB, free: 3.605 MB / 18.59 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.425e-05/0.006699, allocations: 24.11 kB / 28.59 MB, free: 3.582 MB / 18.59 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.006771, allocations: 44.97 kB / 28.64 MB, free: 3.539 MB / 18.59 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006985/0.007475, allocations: 451.7 kB / 29.08 MB, free: 3.098 MB / 18.59 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.009276, allocations: 1.495 MB / 30.57 MB, free: 1.473 MB / 18.59 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.009818, allocations: 359.9 kB / 30.93 MB, free: 1.094 MB / 18.59 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000268/0.0101, allocations: 187.9 kB / 31.11 MB, free: 0.9102 MB / 18.59 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/0.01056, allocations: 0.5934 MB / 31.7 MB, free: 192 kB / 18.59 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.0106, allocations: 38.5 kB / 31.74 MB, free: 144 kB / 18.59 MB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.01061, allocations: 0 / 31.74 MB, free: 144 kB / 18.59 MB Notification: Performance of matching and sorting (n=22): time 0.006476/0.01709, allocations: 0.5249 MB / 32.26 MB, free: 7.539 MB / 18.59 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.01717, allocations: 146.7 kB / 32.41 MB, free: 7.383 MB / 18.59 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.01735, allocations: 219.6 kB / 32.62 MB, free: 7.27 MB / 18.59 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01738, allocations: 31.39 kB / 32.65 MB, free: 7.238 MB / 18.59 MB Notification: Performance of collectInitialEqns (initialization): time 9.271e-05/0.01748, allocations: 225.7 kB / 32.87 MB, free: 7.098 MB / 18.59 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.01753, allocations: 71.55 kB / 32.94 MB, free: 7.059 MB / 18.59 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.01755, allocations: 6.594 kB / 32.95 MB, free: 7.059 MB / 18.59 MB Notification: Performance of setup shared object (initialization): time 4.898e-05/0.0176, allocations: 331.7 kB / 33.27 MB, free: 6.746 MB / 18.59 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.01784, allocations: 158.9 kB / 33.43 MB, free: 6.742 MB / 18.59 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.0181, allocations: 249 kB / 33.67 MB, free: 6.656 MB / 18.59 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002395/0.01835, allocations: 200.6 kB / 33.87 MB, free: 6.617 MB / 18.59 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01836, allocations: 3.719 kB / 33.87 MB, free: 6.617 MB / 18.59 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006833/0.01905, allocations: 0.5331 MB / 34.4 MB, free: 6.48 MB / 18.59 MB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.01911, allocations: 45.56 kB / 34.45 MB, free: 6.434 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.01912, allocations: 8.984 kB / 34.46 MB, free: 6.43 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.01915, allocations: 4 kB / 34.46 MB, free: 6.426 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.01933, allocations: 50.53 kB / 34.51 MB, free: 6.379 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01934, allocations: 4 kB / 34.51 MB, free: 6.375 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.0195, allocations: 51.33 kB / 34.57 MB, free: 6.332 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.01954, allocations: 19.98 kB / 34.58 MB, free: 6.312 MB / 18.59 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.P1.fireOut[1],P1.emptying,$PRE.P2.fireIn[1],P2.feeding,P1.outTransition[1].arcType,P1.fireOut[1],P2.fireIn[1],T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.arcType[1],T1.activation.emptied[1],T1.activation.fed[1],T1.outPlaces[1].enabledByInPlaces) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * Array equations: 2 * Algorithm blocks: 1 * 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.000197/0.01974, allocations: 250.6 kB / 34.83 MB, free: 6.086 MB / 18.59 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/0.01979, allocations: 23.81 kB / 34.85 MB, free: 6.062 MB / 18.59 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.02043, allocations: 477.2 kB / 35.32 MB, free: 5.594 MB / 18.59 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.02046, allocations: 15.92 kB / 35.33 MB, free: 5.578 MB / 18.59 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02047, allocations: 1.75 kB / 35.34 MB, free: 5.578 MB / 18.59 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02048, allocations: 0 / 35.34 MB, free: 5.578 MB / 18.59 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009532/0.02144, allocations: 0.9198 MB / 36.26 MB, free: 4.605 MB / 18.59 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.02146, allocations: 0 / 36.26 MB, free: 4.605 MB / 18.59 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.0216, allocations: 31.92 kB / 36.29 MB, free: 4.574 MB / 18.59 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.02161, allocations: 7.984 kB / 36.29 MB, free: 4.566 MB / 18.59 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.02164, allocations: 8 kB / 36.3 MB, free: 4.559 MB / 18.59 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.02164, allocations: 3.828 kB / 36.31 MB, free: 4.559 MB / 18.59 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.02165, allocations: 0 / 36.31 MB, free: 4.559 MB / 18.59 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008115/0.02247, allocations: 0.7136 MB / 37.02 MB, free: 3.824 MB / 18.59 MB Notification: Performance of postOpt removeConstants (simulation): time 3.512e-05/0.02251, allocations: 104.8 kB / 37.12 MB, free: 3.703 MB / 18.59 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.02256, allocations: 12.06 kB / 37.13 MB, free: 3.691 MB / 18.59 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001407/0.02271, allocations: 31.97 kB / 37.17 MB, free: 3.66 MB / 18.59 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.02283, allocations: 57.06 kB / 37.22 MB, free: 3.605 MB / 18.59 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.02286, allocations: 15.98 kB / 37.24 MB, free: 3.59 MB / 18.59 MB Notification: Performance of sorting global known variables: time 7.839e-05/0.02295, allocations: 138.3 kB / 37.37 MB, free: 3.457 MB / 18.59 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02295, allocations: 0 / 37.37 MB, free: 3.457 MB / 18.59 MB Notification: Performance of remove unused functions: time 0.0004018/0.02336, allocations: 155.7 kB / 37.52 MB, free: 3.316 MB / 18.59 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.t_,P2.t_) * Number of discrete variables: 7 (P1.fireOut[1],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[1]) * Number of discrete states: 5 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P1.fireOut[1],P2.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * Array equations: 2 * Algorithm blocks: 1 * 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.0002135/0.02358, allocations: 177.7 kB / 37.7 MB, free: 3.148 MB / 18.59 MB Notification: Performance of simCode: created initialization part: time 0.000576/0.02416, allocations: 490.4 kB / 38.18 MB, free: 2.66 MB / 18.59 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02418, allocations: 4.125 kB / 38.18 MB, free: 2.656 MB / 18.59 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.02446, allocations: 263.2 kB / 38.44 MB, free: 2.387 MB / 18.59 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.02477, allocations: 49.67 kB / 38.49 MB, free: 2.348 MB / 18.59 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.02598, allocations: 0.8767 MB / 39.36 MB, free: 1.453 MB / 18.59 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.02624, allocations: 0.8652 MB / 40.23 MB, free: 0.5664 MB / 18.59 MB Notification: Performance of simCode: alias equations: time 0.0002037/0.02645, allocations: 111.1 kB / 40.34 MB, free: 472 kB / 18.59 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.02653, allocations: 39.41 kB / 40.37 MB, free: 432 kB / 18.59 MB Notification: Performance of SimCode: time 3.3e-07/0.02654, allocations: 0 / 40.37 MB, free: 432 kB / 18.59 MB Notification: Performance of Templates: time 0.01298/0.03952, allocations: 3.969 MB / 44.34 MB, free: 3.613 MB / 18.59 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test6.makefile (rm -f ConPNlib_ConPNlib.Examples.Test6.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test6.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test6.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test6.sim & ./ConPNlib_ConPNlib.Examples.Test6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test6.pipe 2>&1)