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.04224/0.04223, allocations: 5.387 MB / 20.36 MB, free: 2.215 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.0007344/0.0007342, allocations: 101.5 kB / 22.33 MB, free: 0.7578 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.0008348/0.0008348, allocations: 187.6 kB / 24.42 MB, free: 1.785 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.347/1.347, allocations: 223.2 MB / 249.6 MB, free: 15.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008673/0.008673, allocations: 2.315 MB / 304.2 MB, free: 3.266 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004214, allocations: 12 kB / 371.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 52.2 MB / 423.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.1857/0.2888, allocations: 5.947 MB / 429.8 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00525/0.2941, allocations: 3.629 MB / 433.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006194/0.2947, allocations: 15.59 kB / 433.5 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.2957, allocations: 403 kB / 433.9 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.2974, allocations: 0.681 MB / 434.5 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2984, allocations: 418 kB / 435 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009429/0.2994, allocations: 1.236 MB / 436.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/0.3011, allocations: 1.251 MB / 437.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.3016, allocations: 443.3 kB / 437.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005505/0.3021, allocations: 0.5727 MB / 438.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.885e-05/0.3022, allocations: 63.53 kB / 438.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.3028, allocations: 327.1 kB / 438.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.303, allocations: 210.2 kB / 439 MB, free: 37.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.3032, allocations: 232.9 kB / 439.3 MB, free: 36.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009283/0.3041, allocations: 1.33 MB / 440.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3041, allocations: 3.219 kB / 440.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3041, allocations: 0 / 440.6 MB, free: 36.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.3042, allocations: 0 / 440.6 MB, free: 36.67 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.003041/0.3072, allocations: 1.592 MB / 442.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3073, allocations: 10.06 kB / 442.2 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.3074, allocations: 164.2 kB / 442.4 MB, free: 35.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.3093, allocations: 381.6 kB / 442.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.3107, allocations: 0.7993 MB / 443.5 MB, free: 34.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.414e-05/0.3108, allocations: 80.75 kB / 443.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3109, allocations: 111.5 kB / 443.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3127, allocations: 1.173 MB / 444.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.3127, allocations: 0 / 444.9 MB, free: 34.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.3128, allocations: 48.88 kB / 444.9 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.3128, allocations: 25.34 kB / 445 MB, free: 34.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001705/0.3145, allocations: 1.071 MB / 446 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005018/0.3196, allocations: 4.391 MB / 450.4 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001943/0.3215, allocations: 1.742 MB / 452.2 MB, free: 29.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005419/0.3221, allocations: 331.5 kB / 452.5 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.723e-05/0.3222, allocations: 102 kB / 452.6 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.3229, allocations: 462.9 kB / 453 MB, free: 29.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.3229, allocations: 0 / 453 MB, free: 29.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.004898/0.3278, allocations: 1.634 MB / 454.7 MB, free: 28.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.3279, allocations: 226.2 kB / 454.9 MB, free: 28.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006703/0.3286, allocations: 0.6428 MB / 455.5 MB, free: 28.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.3286, allocations: 44.05 kB / 455.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.3289, allocations: 0.5161 MB / 456.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001534/0.3291, allocations: 232.7 kB / 456.3 MB, free: 27.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.3291, allocations: 19.47 kB / 456.3 MB, free: 27.47 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.3292, allocations: 398.3 kB / 456.7 MB, free: 27.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.3298, allocations: 294.5 kB / 457 MB, free: 27.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006013/0.3304, allocations: 0.5323 MB / 457.5 MB, free: 26.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006477/0.331, allocations: 419.8 kB / 458 MB, free: 26.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.331, allocations: 3.188 kB / 458 MB, free: 26.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001789/0.3328, allocations: 1.117 MB / 459.1 MB, free: 25.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.3329, allocations: 64.75 kB / 459.1 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.719e-05/0.3329, allocations: 6.312 kB / 459.1 MB, free: 25.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.3334, allocations: 97 kB / 459.2 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000762/0.3341, allocations: 221.6 kB / 459.5 MB, free: 25.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.3352, allocations: 1.471 MB / 460.9 MB, free: 24.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.3358, allocations: 111.8 kB / 461 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.3359, allocations: 42.75 kB / 461.1 MB, free: 24.29 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.0004051/0.3363, allocations: 352.9 kB / 461.4 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.179e-05/0.3364, allocations: 80.78 kB / 461.5 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001731/0.3381, allocations: 1.009 MB / 462.5 MB, free: 23.53 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.3382, allocations: 10.58 kB / 462.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3382, allocations: 2.75 kB / 462.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.3382, allocations: 3.422 kB / 462.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005057/0.3433, allocations: 2.345 MB / 464.9 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.3433, allocations: 6.234 kB / 464.9 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003241/0.3436, allocations: 91.8 kB / 465 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006739/0.3443, allocations: 337.2 kB / 465.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-05/0.3443, allocations: 28.12 kB / 465.3 MB, free: 22.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.3454, allocations: 0.9075 MB / 466.2 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3454, allocations: 2.906 kB / 466.2 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.3476, allocations: 1.412 MB / 467.7 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.3478, allocations: 232.8 kB / 467.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3479, allocations: 21.38 kB / 467.9 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.3484, allocations: 56.06 kB / 468 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.184e-05/0.3485, allocations: 46.91 kB / 468 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.3486, allocations: 28.91 kB / 468 MB, free: 20.78 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004867/0.3491, allocations: 449.7 kB / 468.5 MB, free: 20.58 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3491, allocations: 0 / 468.5 MB, free: 20.58 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008431/0.3499, allocations: 320.8 kB / 468.8 MB, free: 20.49 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.003681/0.3536, allocations: 2.534 MB / 471.3 MB, free: 19.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.3552, allocations: 0.9947 MB / 472.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3552, allocations: 1.156 kB / 472.3 MB, free: 18.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000759/0.3559, allocations: 0.4922 MB / 472.8 MB, free: 18.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007507/0.3567, allocations: 140.1 kB / 472.9 MB, free: 18.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008144/0.3649, allocations: 5.143 MB / 478.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.3654, allocations: 1.018 MB / 479.1 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005001/0.3659, allocations: 131.5 kB / 479.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004489/0.3664, allocations: 397.1 kB / 479.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3664, allocations: 1.469 kB / 479.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.4055, allocations: 18.88 MB / 498.5 MB, free: 6.527 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.4057, allocations: 269.2 kB / 498.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/2.62, allocations: 0 / 498.8 MB, free: 6.176 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: