Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ConPNlib_ConPNlib.Examples.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") translateModel(ConPNlib.Examples.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ConPNlib_ConPNlib.Examples.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ConPNlib master/package.mo): time 0.005493/0.005493, allocations: 1.363 MB / 17.26 MB, free: 4.566 MB / 13.93 MB Notification: Performance of FrontEnd - loaded program: time 1.308e-05/1.31e-05, allocations: 0 / 24.31 MB, free: 3.164 MB / 13.93 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0005059/0.0005339, allocations: 353.8 kB / 24.66 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInst.instantiate(ConPNlib.Examples.Test11): time 0.001095/0.001636, allocations: 1.557 MB / 26.21 MB, free: 1.281 MB / 13.93 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.002821, allocations: 0.9084 MB / 27.12 MB, free: 380 kB / 13.93 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002171/0.003051, allocations: 7.938 kB / 27.13 MB, free: 372 kB / 13.93 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.00329, allocations: 114.4 kB / 27.24 MB, free: 260 kB / 13.93 MB Notification: Performance of NFTyping.typeBindings: time 0.0006392/0.003937, allocations: 314.9 kB / 27.55 MB, free: 4.59 MB / 18.57 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001253/0.004074, allocations: 55.94 kB / 27.6 MB, free: 4.535 MB / 18.57 MB Notification: Performance of NFFlatten.flatten: time 0.0005748/0.004658, allocations: 0.5803 MB / 28.18 MB, free: 3.953 MB / 18.57 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.005014, allocations: 299.7 kB / 28.48 MB, free: 3.645 MB / 18.57 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002169/0.005238, allocations: 222.6 kB / 28.69 MB, free: 3.426 MB / 18.57 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.005535, allocations: 258.2 kB / 28.95 MB, free: 3.172 MB / 18.57 MB Notification: Performance of NFPackage.collectConstants: time 5.693e-05/0.005599, allocations: 24 kB / 28.97 MB, free: 3.148 MB / 18.57 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.005949, allocations: 227.6 kB / 29.19 MB, free: 2.926 MB / 18.57 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.006141, allocations: 155.3 kB / 29.34 MB, free: 2.773 MB / 18.57 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.006393, allocations: 258 kB / 29.59 MB, free: 2.52 MB / 18.57 MB Notification: Performance of NFConvertDAE.convert: time 0.0005813/0.006981, allocations: 0.6085 MB / 30.2 MB, free: 1.91 MB / 18.57 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.006992, allocations: 0 / 30.2 MB, free: 1.91 MB / 18.57 MB Notification: Performance of FrontEnd: time 1.413e-06/0.006999, allocations: 0 / 30.2 MB, free: 1.91 MB / 18.57 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.007011, allocations: 0 / 30.2 MB, free: 1.91 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.0009547/0.007971, allocations: 0.8513 MB / 31.05 MB, free: 1 MB / 18.57 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.008014, allocations: 8.312 kB / 31.06 MB, free: 0.9922 MB / 18.57 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.008148, allocations: 80.09 kB / 31.14 MB, free: 0.9141 MB / 18.57 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005595/0.008714, allocations: 431.8 kB / 31.56 MB, free: 464 kB / 18.57 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/0.008783, allocations: 66.36 kB / 31.63 MB, free: 396 kB / 18.57 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.008906, allocations: 88.36 kB / 31.71 MB, free: 308 kB / 18.57 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006959/0.01587, allocations: 1.222 MB / 32.93 MB, free: 7.305 MB / 18.57 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.01592, allocations: 3 kB / 32.94 MB, free: 7.305 MB / 18.57 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.01599, allocations: 41.19 kB / 32.98 MB, free: 7.305 MB / 18.57 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.01611, allocations: 81.02 kB / 33.06 MB, free: 7.305 MB / 18.57 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.01728, allocations: 0.877 MB / 33.93 MB, free: 7 MB / 18.57 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00242/0.01972, allocations: 2.428 MB / 36.36 MB, free: 4.562 MB / 18.57 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006993/0.02043, allocations: 0.5768 MB / 36.94 MB, free: 3.957 MB / 18.57 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.02083, allocations: 381.3 kB / 37.31 MB, free: 3.582 MB / 18.57 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005566/0.0214, allocations: 1.025 MB / 38.34 MB, free: 2.332 MB / 18.57 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.02143, allocations: 38.89 kB / 38.37 MB, free: 2.285 MB / 18.57 MB Notification: Performance of pre-optimization done (n=43): time 2.224e-06/0.02144, allocations: 0 / 38.37 MB, free: 2.285 MB / 18.57 MB Notification: Performance of matching and sorting (n=43): time 0.00279/0.02423, allocations: 1.442 MB / 39.82 MB, free: 0.8125 MB / 18.57 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.02431, allocations: 211.8 kB / 40.02 MB, free: 0.5625 MB / 18.57 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.02455, allocations: 318.6 kB / 40.33 MB, free: 256 kB / 18.57 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.02459, allocations: 41.7 kB / 40.38 MB, free: 208 kB / 18.57 MB Notification: Performance of collectInitialEqns (initialization): time 0.005361/0.02996, allocations: 324.1 kB / 40.69 MB, free: 6.352 MB / 18.57 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.03015, allocations: 146.3 kB / 40.83 MB, free: 6.273 MB / 18.57 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.03026, allocations: 88.3 kB / 40.92 MB, free: 6.258 MB / 18.57 MB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.03033, allocations: 343.7 kB / 41.26 MB, free: 5.945 MB / 18.57 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005092/0.03085, allocations: 316.5 kB / 41.57 MB, free: 5.945 MB / 18.57 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004762/0.03136, allocations: 455.9 kB / 42.01 MB, free: 5.801 MB / 18.57 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000842/0.03221, allocations: 0.7762 MB / 42.79 MB, free: 5.535 MB / 18.57 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.03223, allocations: 3.969 kB / 42.79 MB, free: 5.535 MB / 18.57 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001406/0.03364, allocations: 1.075 MB / 43.87 MB, free: 5.129 MB / 18.57 MB Notification: Performance of prepare postOptimizeDAE: time 5.756e-05/0.03371, allocations: 87.5 kB / 43.95 MB, free: 5.039 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.03373, allocations: 3.75 kB / 43.96 MB, free: 5.039 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/0.03547, allocations: 438.2 kB / 44.38 MB, free: 4.641 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.03569, allocations: 75.83 kB / 44.46 MB, free: 4.566 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000551/0.03626, allocations: 0.7808 MB / 45.24 MB, free: 3.766 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.03654, allocations: 92.31 kB / 45.33 MB, free: 3.676 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.0366, allocations: 31.98 kB / 45.36 MB, free: 3.645 MB / 18.57 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 26 ('P1'.emptying,$PRE.'P1'.fireOut[1],'P3'.feeding,$PRE.'P3'.fireIn[1],'P2'.outTransition[1].arcType,'P1'.outTransition[1].arcType,'T1'.activation.fed[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],'P2'.fireOut[1],$PRE.'P2'.fireOut[1],'P2'.fireIn[1],$PRE.'P2'.fireIn[1],'T1'.activation.weaklyOutputActiveVec[1],'T1'.activation.weaklyInputActiveVec[1],'T1'.activation.active,'T1'.activation.emptied[1],'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 (56): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/0.037, allocations: 390.9 kB / 45.74 MB, free: 3.246 MB / 18.57 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.03708, allocations: 39.38 kB / 45.78 MB, free: 3.211 MB / 18.57 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.03859, allocations: 1.048 MB / 46.83 MB, free: 2.148 MB / 18.57 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.517e-05/0.03863, allocations: 8 kB / 46.84 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.03864, allocations: 2.016 kB / 46.84 MB, free: 2.141 MB / 18.57 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.03865, allocations: 11.92 kB / 46.85 MB, free: 2.129 MB / 18.57 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00725/0.04591, allocations: 1.664 MB / 48.51 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.04593, allocations: 1.344 kB / 48.51 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.04613, allocations: 44.91 kB / 48.56 MB, free: 5.484 MB / 18.57 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009126/0.04705, allocations: 344.6 kB / 48.9 MB, free: 5.477 MB / 18.57 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.258e-05/0.04712, allocations: 23.12 kB / 48.92 MB, free: 5.477 MB / 18.57 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005982/0.04772, allocations: 0.7982 MB / 49.72 MB, free: 4.961 MB / 18.57 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.04774, allocations: 3.75 kB / 49.72 MB, free: 4.961 MB / 18.57 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.0495, allocations: 1.423 MB / 51.14 MB, free: 4.676 MB / 18.57 MB Notification: Performance of postOpt removeConstants (simulation): time 4.588e-05/0.04956, allocations: 118.5 kB / 51.26 MB, free: 4.578 MB / 18.57 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.04964, allocations: 23.55 kB / 51.28 MB, free: 4.57 MB / 18.57 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.04986, allocations: 49.38 kB / 51.33 MB, free: 4.566 MB / 18.57 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.05006, allocations: 119.1 kB / 51.45 MB, free: 4.535 MB / 18.57 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/0.05013, allocations: 25.84 kB / 51.47 MB, free: 4.531 MB / 18.57 MB Notification: Performance of sorting global known variables: time 0.0001595/0.05029, allocations: 190.7 kB / 51.66 MB, free: 4.426 MB / 18.57 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0503, allocations: 0 / 51.66 MB, free: 4.426 MB / 18.57 MB Notification: Performance of remove unused functions: time 0.0005065/0.05081, allocations: 241.8 kB / 51.89 MB, free: 4.348 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002734/0.05109, allocations: 204.9 kB / 52.09 MB, free: 4.172 MB / 18.57 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.05226, allocations: 0.9772 MB / 53.07 MB, free: 3.23 MB / 18.57 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.05227, allocations: 0 / 53.07 MB, free: 3.23 MB / 18.57 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.05284, allocations: 0.5677 MB / 53.64 MB, free: 2.652 MB / 18.57 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.05323, allocations: 57.22 kB / 53.69 MB, free: 2.598 MB / 18.57 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.05515, allocations: 1.696 MB / 55.39 MB, free: 0.8789 MB / 18.57 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005752/0.06091, allocations: 0.9951 MB / 56.39 MB, free: 4.629 MB / 18.57 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.06105, allocations: 50.8 kB / 56.44 MB, free: 4.629 MB / 18.57 MB Notification: Performance of SimCode: time 6.31e-07/0.06105, allocations: 3.75 kB / 56.44 MB, free: 4.629 MB / 18.57 MB Notification: Performance of Templates: time 0.01736/0.07842, allocations: 11.69 MB / 68.13 MB, free: 1.23 MB / 18.57 MB make -j1 -f ConPNlib_ConPNlib.Examples.Test11.makefile (rm -f ConPNlib_ConPNlib.Examples.Test11.pipe ; mkfifo ConPNlib_ConPNlib.Examples.Test11.pipe ; head -c 1048576 < ConPNlib_ConPNlib.Examples.Test11.pipe >> ../files/ConPNlib_ConPNlib.Examples.Test11.sim & ./ConPNlib_ConPNlib.Examples.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ConPNlib_ConPNlib.Examples.Test11.pipe 2>&1)