Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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) Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",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.03257/0.03257, allocations: 5.387 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.0005543/0.0005543, allocations: 91.73 kB / 22.64 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.0007642/0.0007644, allocations: 182.8 kB / 24.74 MB, free: 1.805 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.149/1.149, allocations: 223.3 MB / 250 MB, free: 7.863 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008225/0.008225, allocations: 2.314 MB / 304.6 MB, free: 5.258 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 16 kB / 369 MB, free: 4.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1688, allocations: 52.2 MB / 421.2 MB, free: 25.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.004417/0.1732, allocations: 6.326 MB / 427.5 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003833/0.1771, allocations: 3.843 MB / 431.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003543/0.1775, allocations: 16 kB / 431.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008295/0.1783, allocations: 449.9 kB / 431.8 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.1795, allocations: 0.7613 MB / 432.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.1806, allocations: 0.4944 MB / 433.1 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.1814, allocations: 1.308 MB / 434.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.183, allocations: 1.421 MB / 435.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.1834, allocations: 457.9 kB / 436.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004744/0.1839, allocations: 0.591 MB / 436.8 MB, free: 9.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.8e-05/0.184, allocations: 60 kB / 436.9 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.1845, allocations: 347.6 kB / 437.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.1846, allocations: 219 kB / 437.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.1849, allocations: 0.5727 MB / 438 MB, free: 8.551 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.1859, allocations: 1.662 MB / 439.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1859, allocations: 0 / 439.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1859, allocations: 0 / 439.7 MB, free: 6.883 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.1859, allocations: 0 / 439.7 MB, free: 6.883 MB / 302.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.002903/0.1888, allocations: 1.588 MB / 441.3 MB, free: 5.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.1889, allocations: 8.031 kB / 441.3 MB, free: 5.223 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.189, allocations: 160.9 kB / 441.4 MB, free: 5.055 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.1909, allocations: 379.2 kB / 441.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/0.1922, allocations: 0.8281 MB / 442.6 MB, free: 3.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.624e-05/0.1922, allocations: 82.08 kB / 442.7 MB, free: 3.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1924, allocations: 107.9 kB / 442.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.1939, allocations: 1.173 MB / 444 MB, free: 2.391 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.194, allocations: 4 kB / 444 MB, free: 2.387 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.1941, allocations: 44 kB / 444 MB, free: 2.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.1941, allocations: 31.92 kB / 444.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.1957, allocations: 1.077 MB / 445.1 MB, free: 1.234 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/0.201, allocations: 4.388 MB / 449.5 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.2034, allocations: 1.751 MB / 451.3 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006025/0.204, allocations: 338.3 kB / 451.6 MB, free: 10.35 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.931e-05/0.2041, allocations: 97.64 kB / 451.7 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007495/0.2049, allocations: 465.8 kB / 452.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.134e-06/0.2049, allocations: 0 / 452.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005414/0.2103, allocations: 1.635 MB / 453.8 MB, free: 8.082 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.2104, allocations: 230.1 kB / 454 MB, free: 7.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.2112, allocations: 0.6525 MB / 454.7 MB, free: 7.145 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.2112, allocations: 41.64 kB / 454.7 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/0.2116, allocations: 0.5217 MB / 455.2 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.2117, allocations: 236.8 kB / 455.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2119, allocations: 81.67 kB / 455.6 MB, free: 6.246 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.212, allocations: 390.7 kB / 455.9 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000604/0.2126, allocations: 305.8 kB / 456.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.2134, allocations: 0.5387 MB / 456.8 MB, free: 4.91 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.2147, allocations: 0.936 MB / 457.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.2148, allocations: 4 kB / 457.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002008/0.2168, allocations: 1.125 MB / 458.8 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.2168, allocations: 59.41 kB / 458.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.2169, allocations: 15.97 kB / 458.9 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/0.2173, allocations: 85.08 kB / 459 MB, free: 2.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.2181, allocations: 223.6 kB / 459.2 MB, free: 2.305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.2194, allocations: 1.472 MB / 460.7 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006579/0.2201, allocations: 107.1 kB / 460.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.498e-05/0.2201, allocations: 47.97 kB / 460.8 MB, free: 0.5469 MB / 318.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.0004127/0.2206, allocations: 339.1 kB / 461.2 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.2207, allocations: 95 kB / 461.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.2226, allocations: 1.018 MB / 462.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.2227, allocations: 8 kB / 462.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-06/0.2227, allocations: 0 / 462.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.2227, allocations: 3.984 kB / 462.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005595/0.2283, allocations: 2.341 MB / 464.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2283, allocations: 0 / 464.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.2286, allocations: 99.83 kB / 464.7 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007709/0.2294, allocations: 342.3 kB / 465.1 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.2295, allocations: 23.98 kB / 465.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.2307, allocations: 0.9053 MB / 466 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.2307, allocations: 11.91 kB / 466 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/0.2331, allocations: 1.409 MB / 467.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.2334, allocations: 231.9 kB / 467.6 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.2336, allocations: 31.92 kB / 467.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005188/0.2341, allocations: 55.91 kB / 467.7 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/0.2342, allocations: 40.5 kB / 467.8 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.2343, allocations: 35.97 kB / 467.8 MB, free: 9.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005124/0.2348, allocations: 451 kB / 468.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2348, allocations: 0 / 468.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008375/0.2356, allocations: 327 kB / 468.6 MB, free: 8.594 MB / 334.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.003857/0.2395, allocations: 2.517 MB / 471.1 MB, free: 6.273 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.2412, allocations: 0.9948 MB / 472.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2412, allocations: 0 / 472.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.242, allocations: 0.4954 MB / 472.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007996/0.2428, allocations: 157.4 kB / 472.7 MB, free: 4.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.2532, allocations: 7.845 MB / 480.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005392/0.2538, allocations: 1.018 MB / 481.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004572/0.2543, allocations: 126.4 kB / 481.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.2547, allocations: 403.3 kB / 482.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of SimCode: time 5.82e-07/0.2547, allocations: 0 / 482.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/0.3952, allocations: 19.09 MB / 0.4894 GB, free: 7.961 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002584/0.3955, allocations: 275.3 kB / 0.4897 GB, free: 7.582 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.117/2.513, allocations: 8.062 kB / 0.4897 GB, free: 7.574 MB / 366.1 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)