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) 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_TGM 2.0.0/package.mo", uses=false) 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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03284/0.03284, allocations: 5.385 MB / 20.66 MB, free: 1.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000633/0.0006331, allocations: 98.28 kB / 22.65 MB, free: 436 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007454/0.0007454, allocations: 178.2 kB / 24.74 MB, free: 1.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.3 MB / 250 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007868/0.007868, allocations: 2.316 MB / 304.6 MB, free: 3.992 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 12 kB / 372.4 MB, free: 8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07674/0.07713, allocations: 52.21 MB / 424.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1454/0.2225, allocations: 6.328 MB / 431 MB, free: 38.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.2271, allocations: 3.826 MB / 434.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007398/0.2279, allocations: 21.44 kB / 434.8 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2289, allocations: 451.3 kB / 435.2 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001408/0.2303, allocations: 0.7602 MB / 436 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2315, allocations: 498.2 kB / 436.5 MB, free: 36.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008236/0.2324, allocations: 1.302 MB / 437.8 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.234, allocations: 1.419 MB / 439.2 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.2344, allocations: 463.9 kB / 439.7 MB, free: 36.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005302/0.2349, allocations: 0.5837 MB / 440.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.48e-05/0.235, allocations: 60.97 kB / 440.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005459/0.2356, allocations: 355.7 kB / 440.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.2357, allocations: 218.7 kB / 440.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003139/0.2361, allocations: 0.5645 MB / 441.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.237, allocations: 1.67 MB / 443.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.237, allocations: 0 / 443.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2371, allocations: 0 / 443.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2371, allocations: 0 / 443.1 MB, free: 35.25 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.002917/0.24, allocations: 1.583 MB / 444.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.24, allocations: 13.16 kB / 444.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000146/0.2402, allocations: 165.9 kB / 444.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/0.242, allocations: 384.2 kB / 445.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.2434, allocations: 0.8247 MB / 446.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.637e-05/0.2434, allocations: 80.36 kB / 446.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.2436, allocations: 110.3 kB / 446.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001658/0.2452, allocations: 1.177 MB / 447.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.2453, allocations: 3.938 kB / 447.4 MB, free: 33.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-05/0.2454, allocations: 43.53 kB / 447.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.2454, allocations: 26.97 kB / 447.5 MB, free: 33.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.247, allocations: 1.074 MB / 448.6 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.2515, allocations: 4.394 MB / 453 MB, free: 30.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.2536, allocations: 1.746 MB / 454.7 MB, free: 28.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.2541, allocations: 334.9 kB / 455 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.2542, allocations: 102.2 kB / 455.1 MB, free: 28.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006519/0.2548, allocations: 471.7 kB / 455.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.094e-06/0.2548, allocations: 0 / 455.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004988/0.2598, allocations: 1.639 MB / 457.2 MB, free: 27.86 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.2599, allocations: 222.7 kB / 457.5 MB, free: 27.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.2605, allocations: 0.656 MB / 458.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.239e-05/0.2605, allocations: 36.89 kB / 458.2 MB, free: 27.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.2607, allocations: 0.5302 MB / 458.7 MB, free: 26.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2609, allocations: 228.6 kB / 458.9 MB, free: 26.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.463e-05/0.2609, allocations: 87.05 kB / 459 MB, free: 26.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.261, allocations: 382.9 kB / 459.4 MB, free: 26.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005342/0.2616, allocations: 306.2 kB / 459.7 MB, free: 26.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.2622, allocations: 0.5354 MB / 460.2 MB, free: 25.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.2633, allocations: 0.9384 MB / 461.1 MB, free: 25.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2633, allocations: 3.406 kB / 461.1 MB, free: 25.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001766/0.2651, allocations: 1.123 MB / 462.3 MB, free: 24.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.2651, allocations: 64.36 kB / 462.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2651, allocations: 6.375 kB / 462.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.2656, allocations: 95.19 kB / 462.4 MB, free: 24.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.2663, allocations: 222.8 kB / 462.6 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009813/0.2673, allocations: 1.458 MB / 464.1 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006342/0.2679, allocations: 111.7 kB / 464.2 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.268, allocations: 50.33 kB / 464.3 MB, free: 23 MB / 350.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.000319/0.2683, allocations: 345.1 kB / 464.6 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.2684, allocations: 88 kB / 464.7 MB, free: 22.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.2701, allocations: 1.016 MB / 465.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2701, allocations: 12.84 kB / 465.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.2702, allocations: 0.8125 kB / 465.7 MB, free: 22.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.2702, allocations: 7.266 kB / 465.7 MB, free: 22.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005033/0.2752, allocations: 2.337 MB / 468.1 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2752, allocations: 8.016 kB / 468.1 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.2755, allocations: 101.2 kB / 468.2 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006879/0.2762, allocations: 340.7 kB / 468.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.562e-05/0.2763, allocations: 28.33 kB / 468.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/0.2773, allocations: 0.9063 MB / 469.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2773, allocations: 2.969 kB / 469.4 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.2794, allocations: 1.411 MB / 470.8 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.2796, allocations: 236.3 kB / 471.1 MB, free: 19.51 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.2797, allocations: 25.27 kB / 471.1 MB, free: 19.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000511/0.2803, allocations: 56.95 kB / 471.2 MB, free: 19.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.2803, allocations: 42.66 kB / 471.2 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/0.2804, allocations: 27.83 kB / 471.2 MB, free: 19.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.2808, allocations: 451.5 kB / 471.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2808, allocations: 0 / 471.7 MB, free: 19.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007345/0.2816, allocations: 330.9 kB / 472 MB, free: 19.18 MB / 350.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.003509/0.2851, allocations: 2.52 MB / 474.5 MB, free: 17.81 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.2866, allocations: 1.002 MB / 475.5 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2866, allocations: 0 / 475.5 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007081/0.2873, allocations: 0.4993 MB / 476 MB, free: 17.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007746/0.2881, allocations: 139.2 kB / 476.1 MB, free: 16.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00928/0.2974, allocations: 7.858 MB / 484 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.2978, allocations: 1.021 MB / 485 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004593/0.2983, allocations: 130.2 kB / 485.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.2987, allocations: 401.1 kB / 485.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2987, allocations: 0 / 485.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.3304, allocations: 19.09 MB / 0.4928 GB, free: 1.156 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.3306, allocations: 297.7 kB / 0.4931 GB, free: 0.7734 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/2.393, allocations: 4 kB / 0.4931 GB, free: 0.7695 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)