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.04637/0.04637, allocations: 5.393 MB / 21.03 MB, free: 1.637 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.007159/0.007159, allocations: 106.9 kB / 23.03 MB, free: 0.8086 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.001227/0.001227, allocations: 192.5 kB / 25.14 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 222.9 MB / 250 MB, free: 8.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008922/0.008922, allocations: 2.322 MB / 303.7 MB, free: 6.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 103.8 kB / 422.7 MB, free: 19.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09184/0.09382, allocations: 51.21 MB / 473.9 MB, free: 264 kB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.008251/0.1021, allocations: 6.85 MB / 480.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006721/0.1089, allocations: 3.939 MB / 484.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.11, allocations: 23.94 kB / 484.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003039/0.113, allocations: 1.163 MB / 485.9 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002824/0.1159, allocations: 0.8506 MB / 486.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.118, allocations: 0.5515 MB / 487.3 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.1201, allocations: 1.405 MB / 488.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001951/0.1221, allocations: 1.021 MB / 489.7 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.1232, allocations: 0.5643 MB / 490.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.1246, allocations: 0.6886 MB / 490.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004426/0.125, allocations: 144 kB / 491.1 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.1264, allocations: 439.7 kB / 491.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004453/0.1269, allocations: 303 kB / 491.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009979/0.1279, allocations: 0.6452 MB / 492.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002852/0.1307, allocations: 1.799 MB / 494.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1308, allocations: 0 / 494.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1308, allocations: 4 kB / 494.2 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.096e-05/0.1308, allocations: 7.938 kB / 494.3 MB, free: 11.78 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.004933/0.1358, allocations: 1.802 MB / 496.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1358, allocations: 12.02 kB / 496.1 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002702/0.1361, allocations: 156.9 kB / 496.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/0.1383, allocations: 379.1 kB / 496.6 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.1403, allocations: 0.8398 MB / 497.4 MB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.1404, allocations: 78.08 kB / 497.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001861/0.1406, allocations: 108 kB / 497.6 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/0.1428, allocations: 1.169 MB / 498.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.1428, allocations: 4 kB / 498.8 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1429, allocations: 51.98 kB / 498.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.143, allocations: 24 kB / 498.9 MB, free: 6.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.1451, allocations: 1.066 MB / 499.9 MB, free: 5.926 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006887/0.152, allocations: 4.345 MB / 0.4925 GB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.1546, allocations: 1.736 MB / 0.4941 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006902/0.1554, allocations: 327.3 kB / 0.4945 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/0.1555, allocations: 97.64 kB / 0.4946 GB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008707/0.1564, allocations: 461.8 kB / 0.495 GB, free: 14.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 3.276e-06/0.1564, allocations: 0 / 0.495 GB, free: 14.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.006231/0.1626, allocations: 1.588 MB / 0.4965 GB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.1628, allocations: 234.1 kB / 0.4968 GB, free: 12.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1639, allocations: 0.6485 MB / 0.4974 GB, free: 11.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/0.164, allocations: 45.7 kB / 0.4974 GB, free: 11.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000458/0.1645, allocations: 0.518 MB / 0.4979 GB, free: 11.37 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002257/0.1647, allocations: 232.8 kB / 0.4982 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003009/0.1651, allocations: 182.5 kB / 0.4983 GB, free: 10.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.1653, allocations: 390.7 kB / 0.4987 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006775/0.1659, allocations: 293.8 kB / 0.499 GB, free: 10.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008204/0.1668, allocations: 0.5387 MB / 0.4995 GB, free: 9.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.1683, allocations: 0.936 MB / 0.5004 GB, free: 8.578 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.1683, allocations: 0 / 0.5004 GB, free: 8.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002356/0.1707, allocations: 1.118 MB / 0.5015 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.306e-05/0.1708, allocations: 67.39 kB / 0.5016 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.1708, allocations: 8 kB / 0.5016 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.1713, allocations: 84.72 kB / 0.5017 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008901/0.1722, allocations: 227.8 kB / 0.5019 GB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/0.1738, allocations: 1.581 MB / 0.5034 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008428/0.1746, allocations: 111.1 kB / 0.5036 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.1747, allocations: 47.97 kB / 0.5036 GB, free: 5.156 MB / 382.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.000517/0.1752, allocations: 343.1 kB / 0.5039 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002086/0.1755, allocations: 79.06 kB / 0.504 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.1776, allocations: 1.011 MB / 0.505 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.1776, allocations: 8 kB / 0.505 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.1776, allocations: 4 kB / 0.505 GB, free: 3.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.1776, allocations: 4 kB / 0.505 GB, free: 3.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006411/0.184, allocations: 2.302 MB / 0.5072 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.184, allocations: 4 kB / 0.5073 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.1845, allocations: 99.83 kB / 0.5073 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008641/0.1853, allocations: 326.3 kB / 0.5077 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.1854, allocations: 27.97 kB / 0.5077 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1823/0.3677, allocations: 0.8918 MB / 0.5086 GB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3677, allocations: 0.7812 kB / 0.5086 GB, free: 46.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.3712, allocations: 1.401 MB / 0.5099 GB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.3716, allocations: 225.6 kB / 0.5101 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.3718, allocations: 21.28 kB / 0.5102 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.3724, allocations: 50.42 kB / 0.5102 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.3725, allocations: 38.3 kB / 0.5102 GB, free: 45.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/0.3726, allocations: 36.25 kB / 0.5103 GB, free: 45.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007271/0.3733, allocations: 453.3 kB / 0.5107 GB, free: 45.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3733, allocations: 0 / 0.5107 GB, free: 45.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001184/0.3745, allocations: 320.4 kB / 0.511 GB, free: 45.66 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.004478/0.379, allocations: 2.52 MB / 0.5135 GB, free: 44.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.3811, allocations: 0.9959 MB / 0.5145 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3811, allocations: 0 / 0.5145 GB, free: 44.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.382, allocations: 0.4896 MB / 0.5149 GB, free: 43.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008659/0.3829, allocations: 152.6 kB / 0.5151 GB, free: 43.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/0.3946, allocations: 7.061 MB / 0.522 GB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.3952, allocations: 1.018 MB / 0.523 GB, free: 39.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005245/0.3958, allocations: 132 kB / 0.5231 GB, free: 39.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.3962, allocations: 399.5 kB / 0.5235 GB, free: 38.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3962, allocations: 0 / 0.5235 GB, free: 38.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04342/0.4397, allocations: 20.87 MB / 0.5438 GB, free: 24.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.25/15.69, allocations: 11.78 kB / 0.5439 GB, free: 24.98 MB / 382.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)