Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test8.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.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") translateModel(ConPNlib.Examples.Test8,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005229/0.005229, allocations: 1.367 MB / 16.61 MB, free: 4.715 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.324e-05, allocations: 0 / 23.66 MB, free: 3.66 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002559/0.0002835, allocations: 361.4 kB / 24.01 MB, free: 3.34 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test8): time 0.001033/0.001324, allocations: 1.559 MB / 25.57 MB, free: 1.781 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.002525, allocations: 0.9017 MB / 26.47 MB, free: 0.8789 MB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.002711, allocations: 7.938 kB / 26.48 MB, free: 0.8711 MB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.002953, allocations: 114.6 kB / 26.59 MB, free: 0.7617 MB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0005971/0.003559, allocations: 314.9 kB / 26.9 MB, free: 464 kB / 13.93 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.003673, allocations: 51.95 kB / 26.95 MB, free: 412 kB / 13.93 MB Notification: Performance of NFFlatten.flatten: time 0.0004116/0.004093, allocations: 0.5842 MB / 27.53 MB, free: 4.461 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003282/0.00443, allocations: 294.5 kB / 27.82 MB, free: 4.16 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.004633, allocations: 222.6 kB / 28.04 MB, free: 3.941 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002302/0.00487, allocations: 250.2 kB / 28.28 MB, free: 3.695 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 4.984e-05/0.004929, allocations: 24 kB / 28.31 MB, free: 3.672 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.005262, allocations: 227.6 kB / 28.53 MB, free: 3.449 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.005416, allocations: 155.3 kB / 28.68 MB, free: 3.297 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.005618, allocations: 262 kB / 28.94 MB, free: 3.039 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0007048/0.00633, allocations: 0.7788 MB / 29.72 MB, free: 2.258 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006342, allocations: 0 / 29.72 MB, free: 2.258 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.232e-06/0.006349, allocations: 0 / 29.72 MB, free: 2.258 MB / 18.57 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.00636, allocations: 0 / 29.72 MB, free: 2.258 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.00089/0.007255, allocations: 0.842 MB / 30.56 MB, free: 1.355 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.007293, allocations: 8.969 kB / 30.57 MB, free: 1.348 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/0.007432, allocations: 88.08 kB / 30.65 MB, free: 1.262 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.007924, allocations: 431.8 kB / 31.07 MB, free: 0.8008 MB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/0.007993, allocations: 66.36 kB / 31.14 MB, free: 0.7344 MB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.008098, allocations: 88.36 kB / 31.22 MB, free: 0.6484 MB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006738/0.01484, allocations: 1.211 MB / 32.44 MB, free: 7.16 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.01489, allocations: 7.141 kB / 32.44 MB, free: 7.16 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.01497, allocations: 38.11 kB / 32.48 MB, free: 7.16 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.01507, allocations: 73.36 kB / 32.55 MB, free: 7.16 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.0162, allocations: 0.8741 MB / 33.43 MB, free: 7.027 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.01873, allocations: 2.566 MB / 35.99 MB, free: 4.766 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006829/0.01943, allocations: 0.635 MB / 36.63 MB, free: 4.082 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.01981, allocations: 357.5 kB / 36.98 MB, free: 3.734 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003317/0.02015, allocations: 0.6033 MB / 37.58 MB, free: 3.004 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.02018, allocations: 38.86 kB / 37.62 MB, free: 2.957 MB / 18.57 MB Notification: Performance of pre-optimization done (n=41): time 2.545e-06/0.02019, allocations: 0 / 37.62 MB, free: 2.957 MB / 18.57 MB Notification: Performance of matching and sorting (n=41): time 0.001317/0.02152, allocations: 1.004 MB / 38.62 MB, free: 1.945 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.0216, allocations: 212.2 kB / 38.83 MB, free: 1.695 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.02184, allocations: 318.3 kB / 39.14 MB, free: 1.375 MB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 4.36e-05/0.02189, allocations: 37.7 kB / 39.18 MB, free: 1.332 MB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.02205, allocations: 343.4 kB / 39.51 MB, free: 1 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.02214, allocations: 138.7 kB / 39.65 MB, free: 0.8672 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.471e-05/0.02222, allocations: 77.67 kB / 39.72 MB, free: 0.7852 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.843e-05/0.0223, allocations: 354.8 kB / 40.07 MB, free: 440 kB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.02268, allocations: 300.9 kB / 40.36 MB, free: 140 kB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006752/0.02944, allocations: 449 kB / 40.8 MB, free: 5.875 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.03027, allocations: 0.7727 MB / 41.57 MB, free: 5.609 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.03029, allocations: 0 / 41.57 MB, free: 5.609 MB / 18.57 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001177/0.03147, allocations: 0.991 MB / 42.57 MB, free: 5.461 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.383e-05/0.03154, allocations: 83.47 kB / 42.65 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03155, allocations: 3.781 kB / 42.65 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.03158, allocations: 7.344 kB / 42.66 MB, free: 5.391 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.03182, allocations: 90.05 kB / 42.75 MB, free: 5.379 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.03184, allocations: 7 kB / 42.75 MB, free: 5.379 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.03207, allocations: 89.12 kB / 42.84 MB, free: 5.371 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.03213, allocations: 38.36 kB / 42.88 MB, free: 5.363 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 27 (P1.emptying,$PRE.P1.fireOut[2],$PRE.P1.fireOut[1],P2.feeding,$PRE.P2.fireIn[1],P3.feeding,$PRE.P3.fireIn[1],P1.outTransition[2].arcType,P1.outTransition[1].arcType,T1.activation.fed[1],T1.activation.emptied[1],T2.activation.emptied[1],T2.activation.arcType[1],T1.activation.arcType[1],P3.fireIn[1],T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,T2.activation.fed[1],T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,P2.fireIn[1],P1.fireOut[2],P1.fireOut[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 (65): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003104/0.03244, allocations: 388.5 kB / 43.26 MB, free: 5.109 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.03251, allocations: 34.56 kB / 43.29 MB, free: 5.109 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.03357, allocations: 0.8719 MB / 44.16 MB, free: 4.477 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-05/0.0336, allocations: 11.98 kB / 44.17 MB, free: 4.469 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.03361, allocations: 3.938 kB / 44.18 MB, free: 4.465 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.03362, allocations: 2.25 kB / 44.18 MB, free: 4.465 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.03512, allocations: 1.532 MB / 45.71 MB, free: 2.895 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.03514, allocations: 4 kB / 45.72 MB, free: 2.891 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.03533, allocations: 63.89 kB / 45.78 MB, free: 2.828 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.03534, allocations: 4 kB / 45.78 MB, free: 2.824 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.03538, allocations: 20.36 kB / 45.8 MB, free: 2.809 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.03539, allocations: 0 / 45.8 MB, free: 2.809 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03539, allocations: 3.938 kB / 45.81 MB, free: 2.805 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.03673, allocations: 1.263 MB / 47.07 MB, free: 1.527 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.03678, allocations: 113.1 kB / 47.18 MB, free: 1.422 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.377e-05/0.03685, allocations: 24.48 kB / 47.2 MB, free: 1.402 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.03705, allocations: 51.95 kB / 47.25 MB, free: 1.352 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.03722, allocations: 120.8 kB / 47.37 MB, free: 1.234 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.03727, allocations: 19.98 kB / 47.39 MB, free: 1.215 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001247/0.0374, allocations: 205.9 kB / 47.59 MB, free: 1.016 MB / 18.57 MB Notification: Performance of sort global known variables: time 1e-07/0.03741, allocations: 0 / 47.59 MB, free: 1.016 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.005813/0.04322, allocations: 226.3 kB / 47.81 MB, free: 5.676 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.fireOut[2],P1.emptying,P2.fireIn[1],P2.feeding,T1.activation.active,T1.activation.weaklyInputActiveVec[1],T1.activation.weaklyOutputActiveVec[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 (T1.activation.weaklyOutputActiveVec[1],T1.activation.weaklyInputActiveVec[1],T1.activation.active,T2.activation.weaklyOutputActiveVec[1],T2.activation.weaklyInputActiveVec[1],T2.activation.active,P1.fireOut[1],P1.fireOut[2],P2.fireIn[1],P3.fireIn[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002762/0.04352, allocations: 204.1 kB / 48.01 MB, free: 5.582 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001054/0.04458, allocations: 0.919 MB / 48.93 MB, free: 5.453 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.0446, allocations: 3.406 kB / 48.94 MB, free: 5.453 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.04509, allocations: 0.5038 MB / 49.44 MB, free: 5.324 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.04547, allocations: 61.19 kB / 49.5 MB, free: 5.324 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.04734, allocations: 1.684 MB / 51.18 MB, free: 4.371 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.04771, allocations: 1.013 MB / 52.2 MB, free: 3.453 MB / 18.57 MB Notification: Performance of simCode: alias equations: time 0.0003292/0.04805, allocations: 196.7 kB / 52.39 MB, free: 3.273 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.04819, allocations: 67.39 kB / 52.45 MB, free: 3.207 MB / 18.57 MB Notification: Performance of SimCode: time 4.2e-07/0.04819, allocations: 0 / 52.45 MB, free: 3.207 MB / 18.57 MB Notification: Performance of Templates: time 0.01834/0.06654, allocations: 6.407 MB / 58.86 MB, free: 2.504 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test8.makefile (rm -f ConPNlib_ConPNlib.Examples.Test8.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test8.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test8.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test8.sim & ./ConPNlib_ConPNlib.Examples.Test8 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test8.pipe 2>&1)