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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007691/0.0007692, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008344/0.0008344, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1694/0.1694, allocations: 5.383 MB / 296.5 MB, free: 3.922 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003377/0.0003378, allocations: 11.98 kB / 361.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1033, allocations: 51.61 MB / 413.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.008869/0.1122, allocations: 8.754 MB / 422.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2207/0.3329, allocations: 3.208 MB / 425.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/0.3344, allocations: 61.38 kB / 425.5 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001578/0.336, allocations: 0.5515 MB / 426.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.3386, allocations: 0.8131 MB / 426.9 MB, free: 37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.3402, allocations: 0.7002 MB / 427.6 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003676/0.3439, allocations: 3.851 MB / 431.5 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.3557, allocations: 8.547 MB / 440 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003089/0.3588, allocations: 1.595 MB / 441.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003598/0.3625, allocations: 1.882 MB / 443.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005213/0.363, allocations: 276.6 kB / 443.7 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.3646, allocations: 0.5204 MB / 444.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006289/0.3652, allocations: 0.7709 MB / 445 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.3664, allocations: 0.8828 MB / 445.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006581/0.373, allocations: 7.645 MB / 453.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3731, allocations: 0 / 453.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.098e-06/0.3731, allocations: 5.875 kB / 453.6 MB, free: 31.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002597/0.3733, allocations: 0 / 453.6 MB, free: 31.43 MB / 350.1 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.01196/0.3853, allocations: 4.418 MB / 458 MB, free: 29.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3854, allocations: 9.688 kB / 458 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009281/0.3947, allocations: 1.595 MB / 459.6 MB, free: 29.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005469/0.4002, allocations: 2.826 MB / 462.4 MB, free: 27.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.4005, allocations: 323.5 kB / 462.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.402, allocations: 418.7 kB / 463.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01748/0.4194, allocations: 6.664 MB / 469.8 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002333/0.4197, allocations: 8.812 kB / 469.8 MB, free: 24.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001405/0.4211, allocations: 173 kB / 470 MB, free: 24.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003144/0.4215, allocations: 210.5 kB / 470.2 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.4348, allocations: 5.625 MB / 475.8 MB, free: 21.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03711/0.4719, allocations: 22.78 MB / 498.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005132/0.4771, allocations: 4.428 MB / 0.4912 GB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.4787, allocations: 0.8853 MB / 0.4921 GB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.4789, allocations: 112.8 kB / 0.4922 GB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/0.4803, allocations: 0.837 MB / 0.493 GB, free: 11.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 3.867e-06/0.4803, allocations: 0 / 0.493 GB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.004966/0.4853, allocations: 2.404 MB / 0.4954 GB, free: 9.152 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.932e-05/0.4854, allocations: 145.5 kB / 0.4955 GB, free: 8.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/0.4891, allocations: 1.807 MB / 0.4973 GB, free: 7.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.4892, allocations: 41.7 kB / 0.4973 GB, free: 7.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002084/0.4913, allocations: 1.957 MB / 0.4992 GB, free: 5.148 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004385/0.4918, allocations: 414.8 kB / 0.4996 GB, free: 4.746 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002151/0.492, allocations: 56 kB / 0.4997 GB, free: 4.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002507/0.4922, allocations: 407.1 kB / 0.5001 GB, free: 4.289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/0.4943, allocations: 1.121 MB / 0.5012 GB, free: 3.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/0.4971, allocations: 2.217 MB / 0.5033 GB, free: 432 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002668/0.4998, allocations: 1.675 MB / 0.505 GB, free: 14.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-05/0.4998, allocations: 8 kB / 0.505 GB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.006689/0.5065, allocations: 3.57 MB / 0.5085 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.372e-05/0.5066, allocations: 49.69 kB / 0.5085 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-05/0.5067, allocations: 36.44 kB / 0.5085 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005452/0.5072, allocations: 132.9 kB / 0.5087 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.5093, allocations: 0.6083 MB / 0.5093 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.5108, allocations: 1.533 MB / 0.5108 GB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.513, allocations: 384.8 kB / 0.5111 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/0.5132, allocations: 132 kB / 0.5113 GB, free: 8.137 MB / 382.1 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 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,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 (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002986/0.5162, allocations: 1.709 MB / 0.5129 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003786/0.5166, allocations: 157.9 kB / 0.5131 GB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/0.5201, allocations: 1.899 MB / 0.5149 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002481/0.5226, allocations: 1.527 MB / 0.5164 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5226, allocations: 0 / 0.5164 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.5226, allocations: 7.969 kB / 0.5164 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.5339, allocations: 5.323 MB / 0.5216 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5339, allocations: 0 / 0.5216 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008275/0.5348, allocations: 207.7 kB / 0.5218 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.5354, allocations: 266.5 kB / 0.5221 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.794e-05/0.5355, allocations: 27.98 kB / 0.5221 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009773/0.5364, allocations: 0.8428 MB / 0.5229 GB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.5365, allocations: 8 kB / 0.5229 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005495/0.542, allocations: 2.917 MB / 0.5258 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009371/0.5429, allocations: 390.6 kB / 0.5262 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004222/0.5434, allocations: 31.94 kB / 0.5262 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009639/0.5444, allocations: 91.97 kB / 0.5263 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.5445, allocations: 72.86 kB / 0.5263 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.864e-05/0.5446, allocations: 35.98 kB / 0.5264 GB, free: 8.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002072/0.5467, allocations: 1.225 MB / 0.5276 GB, free: 7.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5467, allocations: 0 / 0.5276 GB, free: 7.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002881/0.5496, allocations: 0.9482 MB / 0.5285 GB, free: 6.242 MB / 398.1 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 (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003805/0.55, allocations: 201.3 kB / 0.5287 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.5542, allocations: 2.552 MB / 0.5312 GB, free: 3.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5542, allocations: 4 kB / 0.5312 GB, free: 3.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/0.5555, allocations: 0.8344 MB / 0.532 GB, free: 2.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.5573, allocations: 344.7 kB / 0.5323 GB, free: 2.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01476/0.5721, allocations: 7.891 MB / 0.54 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004255/0.5764, allocations: 3.034 MB / 0.543 GB, free: 7.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00251/0.5789, allocations: 0.8464 MB / 0.5438 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005309/0.5795, allocations: 135.4 kB / 0.544 GB, free: 6.301 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5795, allocations: 0 / 0.544 GB, free: 6.301 MB / 414.1 MB Notification: Performance of Templates: time 0.04057/0.6201, allocations: 23.25 MB / 0.5667 GB, free: 15.23 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile Environment - environmentSimulation: (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=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.pipe 2>&1) Environment - environmentSimulation: