Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03253/0.03253, allocations: 5.465 MB / 22.96 MB, free: 1.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 118.9 kB / 27.29 MB, free: 3.262 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 188.5 kB / 31.71 MB, free: 3.277 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 225.6 MB / 261.6 MB, free: 6.383 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01029/0.01029, allocations: 2.362 MB / 320.3 MB, free: 15.69 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 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) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=97920,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=97920,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 99.84 kB / 448.8 MB, free: 8.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08978/0.09262, allocations: 54.01 MB / 0.491 GB, free: 2.453 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.00903/0.1017, allocations: 6.926 MB / 0.4978 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006239/0.1079, allocations: 4.045 MB / 0.5017 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.1083, allocations: 23.94 kB / 0.5018 GB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002667/0.1109, allocations: 1.174 MB / 0.5029 GB, free: 6.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.1127, allocations: 0.8779 MB / 0.5038 GB, free: 5.344 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.1142, allocations: 0.5482 MB / 0.5043 GB, free: 4.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.1156, allocations: 1.409 MB / 0.5057 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.1168, allocations: 0.7942 MB / 0.5064 GB, free: 2.562 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.1174, allocations: 0.5604 MB / 0.507 GB, free: 2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000869/0.1183, allocations: 0.6847 MB / 0.5077 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.1185, allocations: 144 kB / 0.5078 GB, free: 1.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006925/0.1192, allocations: 435.7 kB / 0.5082 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.1195, allocations: 314.9 kB / 0.5085 GB, free: 448 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1962/0.3157, allocations: 0.6352 MB / 0.5091 GB, free: 11.01 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002357/0.3181, allocations: 1.812 MB / 0.5109 GB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3181, allocations: 0.6094 kB / 0.5109 GB, free: 10.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3181, allocations: 0 / 0.5109 GB, free: 10.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.3181, allocations: 0 / 0.5109 GB, free: 10.91 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.004117/0.3222, allocations: 1.84 MB / 0.5127 GB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3223, allocations: 9.156 kB / 0.5127 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.3245, allocations: 385.7 kB / 0.5131 GB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.3263, allocations: 0.8384 MB / 0.5139 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.3264, allocations: 79.61 kB / 0.514 GB, free: 9.617 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.3266, allocations: 113.4 kB / 0.5141 GB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.3287, allocations: 1.167 MB / 0.5152 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.3287, allocations: 5.938 kB / 0.5152 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.3288, allocations: 44.61 kB / 0.5153 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.3288, allocations: 30.12 kB / 0.5153 GB, free: 9.441 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3309, allocations: 1.067 MB / 0.5163 GB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005822/0.3368, allocations: 4.337 MB / 0.5206 GB, free: 7.664 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/0.3391, allocations: 1.677 MB / 0.5222 GB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.3398, allocations: 282.3 kB / 0.5225 GB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.946e-05/0.3398, allocations: 99.73 kB / 0.5226 GB, free: 6.457 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008231/0.3407, allocations: 468.1 kB / 0.523 GB, free: 6.316 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.404e-06/0.3407, allocations: 2.516 kB / 0.523 GB, free: 6.316 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005978/0.3466, allocations: 1.575 MB / 0.5246 GB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.673e-05/0.3467, allocations: 223.6 kB / 0.5248 GB, free: 5.789 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008003/0.3475, allocations: 0.6545 MB / 0.5254 GB, free: 5.645 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.059e-05/0.3476, allocations: 46.08 kB / 0.5255 GB, free: 5.613 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.3479, allocations: 0.5272 MB / 0.526 GB, free: 5.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.348, allocations: 245.7 kB / 0.5262 GB, free: 5.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.3483, allocations: 190.1 kB / 0.5264 GB, free: 4.996 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.282e-05/0.3484, allocations: 390.9 kB / 0.5268 GB, free: 4.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006318/0.349, allocations: 301.2 kB / 0.527 GB, free: 4.543 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/0.3497, allocations: 0.5316 MB / 0.5276 GB, free: 4.145 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.351, allocations: 0.9389 MB / 0.5285 GB, free: 3.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.351, allocations: 2.438 kB / 0.5285 GB, free: 3.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002092/0.3531, allocations: 1.116 MB / 0.5296 GB, free: 3.039 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.3531, allocations: 66 kB / 0.5296 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.3532, allocations: 7.594 kB / 0.5296 GB, free: 2.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004701/0.3536, allocations: 90.52 kB / 0.5297 GB, free: 2.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008489/0.3545, allocations: 222.4 kB / 0.5299 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3556, allocations: 1.581 MB / 0.5315 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.3564, allocations: 109.2 kB / 0.5316 GB, free: 1.375 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.259e-05/0.3564, allocations: 50.38 kB / 0.5316 GB, free: 1.367 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0003861/0.3568, allocations: 346.3 kB / 0.532 GB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.357, allocations: 91.52 kB / 0.5321 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/0.359, allocations: 0.9971 MB / 0.533 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.359, allocations: 6.969 kB / 0.533 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.359, allocations: 0 / 0.533 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.359, allocations: 3.859 kB / 0.533 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006156/0.3652, allocations: 2.29 MB / 0.5353 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.3652, allocations: 3.062 kB / 0.5353 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000367/0.3655, allocations: 98.39 kB / 0.5354 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007992/0.3663, allocations: 323.4 kB / 0.5357 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.3664, allocations: 33.22 kB / 0.5357 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.3678, allocations: 0.8986 MB / 0.5366 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3678, allocations: 3.703 kB / 0.5366 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002723/0.3705, allocations: 1.372 MB / 0.5379 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.3708, allocations: 229.6 kB / 0.5382 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.3709, allocations: 21.86 kB / 0.5382 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.3715, allocations: 49.55 kB / 0.5382 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.3716, allocations: 44.62 kB / 0.5383 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-05/0.3717, allocations: 27.14 kB / 0.5383 GB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005798/0.3722, allocations: 458.8 kB / 0.5387 GB, free: 13.31 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3722, allocations: 0 / 0.5387 GB, free: 13.31 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009421/0.3732, allocations: 328.4 kB / 0.539 GB, free: 13.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002049/0.3752, allocations: 0.6684 MB / 0.5397 GB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.377, allocations: 0.9471 MB / 0.5406 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.377, allocations: 0 / 0.5406 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008023/0.3778, allocations: 438.9 kB / 0.541 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007792/0.3786, allocations: 155 kB / 0.5412 GB, free: 12.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003092/0.3817, allocations: 1.774 MB / 0.5429 GB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006099/0.3823, allocations: 1.018 MB / 0.5439 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004154/0.3827, allocations: 134.2 kB / 0.544 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.3829, allocations: 73.5 kB / 0.5441 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3829, allocations: 0 / 0.5441 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Templates: time 0.0225/0.4054, allocations: 12.58 MB / 0.5564 GB, free: 14.1 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 91.48696203436702]