Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.conf.json 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 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCellVoltageSource,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009031, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009195/0.0009195, allocations: 193.4 kB / 16.13 MB, free: 6.66 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.113/0.113, allocations: 5.385 MB / 295.3 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 360.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1137, allocations: 50.62 MB / 410.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCellVoltageSource): time 0.005186/0.1189, allocations: 3.322 MB / 414.2 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1212, allocations: 1.215 MB / 415.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.1215, allocations: 7.938 kB / 415.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006773/0.1223, allocations: 187.1 kB / 415.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.1227, allocations: 131.1 kB / 415.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.123, allocations: 91.92 kB / 415.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.1236, allocations: 0.4903 MB / 416.3 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.1238, allocations: 110.8 kB / 416.4 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.1241, allocations: 171.3 kB / 416.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.1244, allocations: 219 kB / 416.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.421e-05/0.1245, allocations: 24 kB / 416.8 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.1246, allocations: 40 kB / 416.9 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.378e-05/0.1247, allocations: 79.59 kB / 416.9 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.1249, allocations: 187 kB / 417.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004278/0.1253, allocations: 486.4 kB / 417.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1253, allocations: 0 / 417.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.1253, allocations: 0 / 417.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1253, allocations: 0 / 417.6 MB, free: 5.137 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001916/0.1273, allocations: 0.7812 MB / 418.4 MB, free: 4.309 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.1273, allocations: 8.031 kB / 418.4 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.557e-05/0.1274, allocations: 54.73 kB / 418.4 MB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.1275, allocations: 40.47 kB / 418.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000976/0.1285, allocations: 460.1 kB / 418.9 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.762e-05/0.1285, allocations: 20.38 kB / 418.9 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.1285, allocations: 23.94 kB / 419 MB, free: 3.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.1291, allocations: 283.3 kB / 419.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1291, allocations: 0 / 419.2 MB, free: 3.367 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/0.1292, allocations: 12 kB / 419.3 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1292, allocations: 4 kB / 419.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.1297, allocations: 228.9 kB / 419.5 MB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.1321, allocations: 1.273 MB / 420.8 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.1327, allocations: 146.5 kB / 420.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004283/0.1331, allocations: 108.7 kB / 421 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1331, allocations: 0 / 421 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.1332, allocations: 34.56 kB / 421 MB, free: 1.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.1332, allocations: 0 / 421 MB, free: 1.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001131/0.1343, allocations: 245.1 kB / 421.3 MB, free: 1.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.1344, allocations: 55.41 kB / 421.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006471/0.1351, allocations: 365.7 kB / 421.7 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1351, allocations: 29.7 kB / 421.7 MB, free: 0.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.1354, allocations: 215.8 kB / 421.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.1354, allocations: 31.55 kB / 422 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/0.1356, allocations: 49.69 kB / 422 MB, free: 460 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.1358, allocations: 342.8 kB / 422.3 MB, free: 108 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003861/0.1362, allocations: 99.94 kB / 422.4 MB, free: 8 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.18/0.3162, allocations: 119.8 kB / 422.6 MB, free: 48.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.3166, allocations: 196.7 kB / 422.7 MB, free: 48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.3166, allocations: 2.906 kB / 422.7 MB, free: 48 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009975/0.3177, allocations: 349.5 kB / 423.1 MB, free: 47.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3177, allocations: 5.062 kB / 423.1 MB, free: 47.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3177, allocations: 1.625 kB / 423.1 MB, free: 47.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/0.3182, allocations: 75.48 kB / 423.2 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.3185, allocations: 55.09 kB / 423.2 MB, free: 47.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.3198, allocations: 1.462 MB / 424.7 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.3201, allocations: 40.67 kB / 424.7 MB, free: 46.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3201, allocations: 8.438 kB / 424.7 MB, free: 46.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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.0001348/0.3203, allocations: 142.6 kB / 424.9 MB, free: 46.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.3203, allocations: 38.58 kB / 424.9 MB, free: 46.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.3204, allocations: 31.09 kB / 424.9 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3204, allocations: 3.719 kB / 424.9 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.3204, allocations: 3.719 kB / 424.9 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3204, allocations: 0.75 kB / 424.9 MB, free: 46.49 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007499/0.3212, allocations: 0.5904 MB / 425.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3212, allocations: 4.031 kB / 425.5 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.3214, allocations: 27.81 kB / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3214, allocations: 0 / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.3214, allocations: 3.328 kB / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3214, allocations: 3.25 kB / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3214, allocations: 0 / 425.6 MB, free: 46.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.3218, allocations: 296.5 kB / 425.9 MB, free: 46.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.3219, allocations: 129.2 kB / 426 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.3219, allocations: 0 / 426 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002209/0.3222, allocations: 16.55 kB / 426 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.3222, allocations: 7.266 kB / 426 MB, free: 45.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3222, allocations: 7.062 kB / 426 MB, free: 45.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.3224, allocations: 264.6 kB / 426.3 MB, free: 45.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3224, allocations: 0 / 426.3 MB, free: 45.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.3228, allocations: 70.73 kB / 426.4 MB, free: 45.86 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005783/0.3234, allocations: 0.8239 MB / 427.2 MB, free: 45.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006317/0.324, allocations: 337.7 kB / 427.5 MB, free: 45.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.324, allocations: 1.312 kB / 427.5 MB, free: 45.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001696/0.3242, allocations: 72.78 kB / 427.6 MB, free: 45.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.3247, allocations: 70.38 kB / 427.6 MB, free: 45.06 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3286, allocations: 3.185 MB / 430.8 MB, free: 43.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.3287, allocations: 0.7775 MB / 431.6 MB, free: 42.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.329, allocations: 37.92 kB / 431.6 MB, free: 42.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.3291, allocations: 109.2 kB / 431.8 MB, free: 42.48 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3291, allocations: 0 / 431.8 MB, free: 42.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.3515, allocations: 6.566 MB / 438.3 MB, free: 41.93 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.3517, allocations: 226 kB / 438.5 MB, free: 41.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/2.159, allocations: 0 / 438.5 MB, free: 41.68 MB / 350.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCellVoltageSource.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCellVoltageSource.pipe 2>&1)