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.02948/0.02948, allocations: 5.378 MB / 20.33 MB, free: 1.434 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.0008793/0.0008792, allocations: 107.4 kB / 22.32 MB, free: 192 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.001106/0.001106, allocations: 184.9 kB / 24.4 MB, free: 1.801 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.348/1.348, allocations: 223.2 MB / 249.5 MB, free: 15.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008719/0.008719, allocations: 2.314 MB / 304.1 MB, free: 3.805 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004077/0.0004078, allocations: 16 kB / 371.6 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09558/0.09601, allocations: 52.2 MB / 423.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1692/0.2652, allocations: 5.624 MB / 429.4 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.2698, allocations: 3.626 MB / 433 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004874/0.2703, allocations: 19.78 kB / 433 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.2711, allocations: 368.8 kB / 433.4 MB, free: 37.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001353/0.2725, allocations: 0.7467 MB / 434.2 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009311/0.2734, allocations: 423 kB / 434.6 MB, free: 37.37 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000887/0.2743, allocations: 0.8754 MB / 435.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.276, allocations: 1.228 MB / 436.7 MB, free: 37.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.2765, allocations: 445.6 kB / 437.1 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.277, allocations: 0.5333 MB / 437.6 MB, free: 36.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.581e-05/0.2771, allocations: 67.47 kB / 437.7 MB, free: 36.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006183/0.2778, allocations: 286 kB / 438 MB, free: 36.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001503/0.2779, allocations: 210.4 kB / 438.2 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001714/0.2781, allocations: 232 kB / 438.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.2791, allocations: 1.329 MB / 439.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2791, allocations: 0 / 439.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2791, allocations: 0 / 439.7 MB, free: 36.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.2792, allocations: 0 / 439.7 MB, free: 36.66 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.003501/0.2827, allocations: 1.591 MB / 441.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2827, allocations: 9.344 kB / 441.3 MB, free: 35.81 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.2829, allocations: 162.8 kB / 441.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.2849, allocations: 388.1 kB / 441.9 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.2866, allocations: 0.8007 MB / 442.7 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.2867, allocations: 82.62 kB / 442.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.2868, allocations: 106 kB / 442.9 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.2887, allocations: 1.162 MB / 444 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.2887, allocations: 6.406 kB / 444 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/0.2888, allocations: 42.06 kB / 444.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.2889, allocations: 28.09 kB / 444.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.2907, allocations: 1.065 MB / 445.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005259/0.296, allocations: 4.407 MB / 449.6 MB, free: 32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.2982, allocations: 1.739 MB / 451.3 MB, free: 30.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.2983, allocations: 97.83 kB / 451.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006916/0.299, allocations: 465.3 kB / 451.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.264e-06/0.299, allocations: 0 / 451.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005414/0.3044, allocations: 1.707 MB / 453.6 MB, free: 29.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.432e-05/0.3045, allocations: 226.8 kB / 453.8 MB, free: 29.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007349/0.3052, allocations: 0.6456 MB / 454.4 MB, free: 29.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.3053, allocations: 44.36 kB / 454.5 MB, free: 29.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000299/0.3056, allocations: 0.5178 MB / 455 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.3058, allocations: 232 kB / 455.2 MB, free: 28.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.3058, allocations: 23.22 kB / 455.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.931e-05/0.3059, allocations: 392 kB / 455.6 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005551/0.3065, allocations: 293.8 kB / 455.9 MB, free: 27.95 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000603/0.3071, allocations: 0.5372 MB / 456.5 MB, free: 27.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.3077, allocations: 420.6 kB / 456.9 MB, free: 27.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3078, allocations: 11.25 kB / 456.9 MB, free: 27.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00187/0.3096, allocations: 1.106 MB / 458 MB, free: 26.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.3097, allocations: 61.41 kB / 458 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.3097, allocations: 7.938 kB / 458 MB, free: 26.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004576/0.3102, allocations: 91.73 kB / 458.1 MB, free: 26.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007972/0.311, allocations: 222 kB / 458.4 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3121, allocations: 1.484 MB / 459.8 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/0.3129, allocations: 112.7 kB / 459.9 MB, free: 25.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.313, allocations: 45 kB / 460 MB, free: 25.21 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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (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.0004539/0.3134, allocations: 341.2 kB / 460.3 MB, free: 24.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.3135, allocations: 92.39 kB / 460.4 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001746/0.3153, allocations: 1.007 MB / 461.4 MB, free: 24.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3153, allocations: 13.48 kB / 461.4 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.3153, allocations: 3.953 kB / 461.4 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3153, allocations: 6.578 kB / 461.4 MB, free: 24.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005333/0.3207, allocations: 2.342 MB / 463.8 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3207, allocations: 0 / 463.8 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003519/0.321, allocations: 101.9 kB / 463.9 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007231/0.3218, allocations: 337.6 kB / 464.2 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.3218, allocations: 23.75 kB / 464.2 MB, free: 23.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.3229, allocations: 0.9035 MB / 465.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3229, allocations: 3.516 kB / 465.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.3251, allocations: 1.43 MB / 466.6 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.3254, allocations: 234.1 kB / 466.8 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.3255, allocations: 25.47 kB / 466.8 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005337/0.326, allocations: 52.03 kB / 466.9 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.431e-05/0.3261, allocations: 43.05 kB / 466.9 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.437e-05/0.3262, allocations: 37.7 kB / 467 MB, free: 21.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004345/0.3266, allocations: 446.5 kB / 467.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3266, allocations: 0 / 467.4 MB, free: 21.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008583/0.3275, allocations: 323.7 kB / 467.7 MB, free: 21.38 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004022/0.3315, allocations: 2.685 MB / 470.4 MB, free: 19.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00219/0.3337, allocations: 0.9981 MB / 471.4 MB, free: 19.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3337, allocations: 64 / 471.4 MB, free: 19.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009835/0.3347, allocations: 0.4944 MB / 471.9 MB, free: 19.06 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008935/0.3356, allocations: 127.1 kB / 472 MB, free: 19.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004878/0.3405, allocations: 7.616 MB / 479.6 MB, free: 12.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005277/0.3411, allocations: 1.036 MB / 480.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004993/0.3416, allocations: 133 kB / 480.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/0.342, allocations: 406.4 kB / 481.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.342, allocations: 1.312 kB / 481.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04006/0.3821, allocations: 18.55 MB / 499.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.3823, allocations: 271.4 kB / 0.4883 GB, free: 5.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.276/2.658, allocations: 0 / 0.4883 GB, free: 5.422 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/linux/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) Environment - environmentSimulation: