Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009211/0.0009211, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9897/0.9897, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02983/0.02983, allocations: 4.227 MB / 264.2 MB, free: 8.938 MB / 250.7 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 339.1 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.888e-05/4.125e-05, allocations: 8.641 kB / 339.1 MB, free: 10.24 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.008302/0.008343, allocations: 9.797 MB / 348.9 MB, free: 400 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00597/0.01431, allocations: 3.503 MB / 352.4 MB, free: 12.88 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.01584, allocations: 79.62 kB / 352.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004167/0.02, allocations: 3.41 MB / 355.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002572/0.02258, allocations: 0.9044 MB / 356.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.02418, allocations: 1.079 MB / 357.8 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.02801, allocations: 4.385 MB / 362.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00659/0.0346, allocations: 6.559 MB / 368.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.03868, allocations: 3.659 MB / 372.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.0416, allocations: 2.546 MB / 375 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001334/0.04293, allocations: 0.7188 MB / 375.7 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.04511, allocations: 1.031 MB / 376.7 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001228/0.04634, allocations: 1.372 MB / 378.1 MB, free: 2.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002396/0.04874, allocations: 1.755 MB / 379.9 MB, free: 1.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005729/0.05446, allocations: 4.55 MB / 384.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.05447, allocations: 4 kB / 384.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.05447, allocations: 0 / 384.4 MB, free: 12.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001769/0.05465, allocations: 0 / 384.4 MB, free: 12.66 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.00844/0.06309, allocations: 5.729 MB / 390.1 MB, free: 6.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.06313, allocations: 8.031 kB / 390.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005934/0.06907, allocations: 2.145 MB / 392.3 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/0.07289, allocations: 2.808 MB / 395.1 MB, free: 1.848 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.07307, allocations: 324.5 kB / 395.4 MB, free: 1.527 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.07364, allocations: 419.9 kB / 395.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006407/0.08005, allocations: 3.594 MB / 399.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.005e-05/0.08011, allocations: 3.984 kB / 399.4 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002746/0.08038, allocations: 172 kB / 399.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001502/0.08053, allocations: 207.9 kB / 399.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.08409, allocations: 1.701 MB / 401.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1638/0.2479, allocations: 18.21 MB / 419.7 MB, free: 53.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.2504, allocations: 1.713 MB / 421.4 MB, free: 53.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005965/0.251, allocations: 390 kB / 421.8 MB, free: 53.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001222/0.2512, allocations: 48.33 kB / 421.9 MB, free: 53.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006627/0.2518, allocations: 0.4925 MB / 422.4 MB, free: 53.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=106): time 3.737e-06/0.2518, allocations: 1.562 kB / 422.4 MB, free: 53.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.002313/0.2541, allocations: 1.179 MB / 423.5 MB, free: 52.89 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.2542, allocations: 148 kB / 423.7 MB, free: 52.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002036/0.2562, allocations: 1.732 MB / 425.4 MB, free: 52.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.583e-05/0.2563, allocations: 42.11 kB / 425.5 MB, free: 52.44 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00118/0.2575, allocations: 2.141 MB / 427.6 MB, free: 51.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/0.2577, allocations: 406.8 kB / 428 MB, free: 51.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005373/0.2582, allocations: 0.6077 MB / 428.6 MB, free: 51.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.076e-05/0.2583, allocations: 484.5 kB / 429.1 MB, free: 50.77 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/0.2589, allocations: 381.5 kB / 429.4 MB, free: 50.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2599, allocations: 2.019 MB / 431.5 MB, free: 48.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.2616, allocations: 2.572 MB / 434 MB, free: 46.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-05/0.2616, allocations: 14.11 kB / 434 MB, free: 46.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.002909/0.2645, allocations: 2.184 MB / 436.2 MB, free: 46.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.308e-05/0.2646, allocations: 52.41 kB / 436.3 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.533e-05/0.2646, allocations: 37.28 kB / 436.3 MB, free: 46.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.2649, allocations: 127.1 kB / 436.4 MB, free: 46.33 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.2661, allocations: 0.6104 MB / 437.1 MB, free: 46.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2671, allocations: 2.026 MB / 439.1 MB, free: 44.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.2683, allocations: 361.8 kB / 439.4 MB, free: 44.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.2684, allocations: 137.5 kB / 439.6 MB, free: 44.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (313): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008818/0.2693, allocations: 362.6 kB / 439.9 MB, free: 44.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.2696, allocations: 215.2 kB / 440.1 MB, free: 44.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.2709, allocations: 1.09 MB / 441.2 MB, free: 43.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008357/0.2717, allocations: 0.7632 MB / 442 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2717, allocations: 0 / 442 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.2718, allocations: 16.73 kB / 442 MB, free: 43.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005235/0.277, allocations: 3.981 MB / 446 MB, free: 42.78 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.277, allocations: 4 kB / 446 MB, free: 42.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.2775, allocations: 204.4 kB / 446.2 MB, free: 42.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003226/0.2778, allocations: 222.1 kB / 446.4 MB, free: 42.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.511e-05/0.2779, allocations: 31.03 kB / 446.4 MB, free: 42.44 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005416/0.2784, allocations: 1.048 MB / 447.5 MB, free: 41.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2784, allocations: 32 / 447.5 MB, free: 41.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.2802, allocations: 1.52 MB / 449 MB, free: 40.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.2806, allocations: 280.4 kB / 449.3 MB, free: 39.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.2807, allocations: 28.38 kB / 449.3 MB, free: 39.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/0.2811, allocations: 75.48 kB / 449.4 MB, free: 39.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.2812, allocations: 72.11 kB / 449.4 MB, free: 39.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/0.2813, allocations: 34.83 kB / 449.5 MB, free: 39.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008724/0.2822, allocations: 0.823 MB / 450.3 MB, free: 39.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2822, allocations: 0 / 450.3 MB, free: 39.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00213/0.2843, allocations: 0.9652 MB / 451.3 MB, free: 38.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000347/0.2846, allocations: 196.6 kB / 451.5 MB, free: 38.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.2867, allocations: 1.625 MB / 453.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2867, allocations: 0 / 453.1 MB, free: 36.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005041/0.2872, allocations: 473 kB / 453.5 MB, free: 36.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.2883, allocations: 398.1 kB / 453.9 MB, free: 36.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.2955, allocations: 5.534 MB / 459.5 MB, free: 30.58 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007337/0.2962, allocations: 1.109 MB / 460.6 MB, free: 29.45 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001215/0.2974, allocations: 0.7884 MB / 461.4 MB, free: 28.66 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.2977, allocations: 144.5 kB / 461.5 MB, free: 28.52 MB / 330.7 MB Notification: Performance of SimCode: time 2.495e-06/0.2977, allocations: 0 / 461.5 MB, free: 28.52 MB / 330.7 MB Notification: Performance of Templates: time 0.03142/0.3292, allocations: 23.62 MB / 485.1 MB, free: 5.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3 -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7444716012105346]