Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.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.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimplePlantSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric",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.007816/0.007816, allocations: 103.8 kB / 15.73 MB, free: 6.062 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.001723/0.001724, allocations: 193.8 kB / 16.67 MB, free: 5.973 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02729/0.02729, allocations: 5.404 MB / 295.9 MB, free: 9.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.89 kB / 412.3 MB, free: 23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1021, allocations: 50.61 MB / 462.9 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimplePlantSymmetric): time 0.004692/0.1068, allocations: 3.516 MB / 466.4 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.109, allocations: 1.281 MB / 467.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000303/0.1093, allocations: 4 kB / 467.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006049/0.1099, allocations: 226.6 kB / 467.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004738/0.1104, allocations: 166.7 kB / 468.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.1106, allocations: 111.8 kB / 468.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006439/0.1113, allocations: 0.6032 MB / 468.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.1115, allocations: 124.1 kB / 468.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.1118, allocations: 223.1 kB / 469.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003593/0.1122, allocations: 278.8 kB / 469.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.056e-05/0.1123, allocations: 52 kB / 469.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.1124, allocations: 64 kB / 469.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.718e-05/0.1125, allocations: 115.5 kB / 469.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000244/0.1128, allocations: 238.8 kB / 469.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005861/0.1134, allocations: 0.5576 MB / 470.4 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.1134, allocations: 3.984 kB / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1134, allocations: 7.938 kB / 470.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.553e-05/0.1134, allocations: 0 / 470.5 MB, free: 12.77 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002044/0.1155, allocations: 0.8297 MB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.1155, allocations: 8.031 kB / 471.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.93e-05/0.1156, allocations: 66.72 kB / 471.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.729e-05/0.1157, allocations: 48.38 kB / 471.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.1172, allocations: 0.5179 MB / 471.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1172, allocations: 24.5 kB / 471.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.031e-05/0.1173, allocations: 24 kB / 472 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.118, allocations: 361.2 kB / 472.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.118, allocations: 4 kB / 472.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.137e-05/0.1181, allocations: 12 kB / 472.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.1181, allocations: 8 kB / 472.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009807/0.1191, allocations: 369.9 kB / 472.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.1216, allocations: 1.414 MB / 474.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1227, allocations: 451.5 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.1232, allocations: 154.8 kB / 474.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1233, allocations: 8 kB / 474.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1233, allocations: 38.5 kB / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.763e-06/0.1233, allocations: 0 / 474.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.006032/0.1293, allocations: 1.018 MB / 475.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.1294, allocations: 55.41 kB / 475.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.1299, allocations: 393.5 kB / 476.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.13, allocations: 29.7 kB / 476.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.1302, allocations: 228.2 kB / 476.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.1302, allocations: 70.94 kB / 476.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.1304, allocations: 69.66 kB / 476.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1305, allocations: 354.7 kB / 476.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.1309, allocations: 151.7 kB / 477.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004308/0.1314, allocations: 175.6 kB / 477.3 MB, free: 5.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.1322, allocations: 314.3 kB / 477.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1323, allocations: 0 / 477.6 MB, free: 5.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00467/0.1369, allocations: 0.8278 MB / 478.4 MB, free: 4.469 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.137, allocations: 4 kB / 478.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.137, allocations: 8 kB / 478.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.1383, allocations: 333.4 kB / 478.7 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/0.1386, allocations: 63.83 kB / 478.8 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009396/0.148, allocations: 4.328 MB / 483.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005768/0.1486, allocations: 47.66 kB / 483.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.575e-05/0.1487, allocations: 15.98 kB / 483.2 MB, free: 15.39 MB / 366.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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: 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 prepare postOptimizeDAE: time 0.0002226/0.1489, allocations: 150.4 kB / 483.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.149, allocations: 39.59 kB / 483.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.1491, allocations: 43.58 kB / 483.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1491, allocations: 7.938 kB / 483.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1492, allocations: 0 / 483.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1492, allocations: 0 / 483.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004706/0.1539, allocations: 1.179 MB / 484.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.1539, allocations: 3.938 kB / 484.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1541, allocations: 27.98 kB / 484.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006863/0.1548, allocations: 256.6 kB / 484.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1548, allocations: 8 kB / 484.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007475/0.1623, allocations: 2.55 MB / 487.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.1623, allocations: 0 / 487.4 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.1664, allocations: 0.7805 MB / 488.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.1666, allocations: 140.5 kB / 488.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.1667, allocations: 4 kB / 488.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.1671, allocations: 27.97 kB / 488.4 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.1672, allocations: 19.91 kB / 488.4 MB, free: 9.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.1672, allocations: 15.98 kB / 488.4 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003699/0.1676, allocations: 275.2 kB / 488.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1676, allocations: 0 / 488.7 MB, free: 9.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005543/0.1681, allocations: 115.8 kB / 488.8 MB, free: 9.516 MB / 366.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004333/0.1725, allocations: 1.307 MB / 490.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.1742, allocations: 0.5995 MB / 490.7 MB, free: 7.543 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.1742, allocations: 3.938 kB / 490.7 MB, free: 7.539 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.1748, allocations: 281.2 kB / 491 MB, free: 7.254 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006777/0.1755, allocations: 93.58 kB / 491.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.1887, allocations: 4.357 MB / 495.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/0.1893, allocations: 0.7961 MB / 496.2 MB, free: 1.859 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.1896, allocations: 47.25 kB / 496.3 MB, free: 1.812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1898, allocations: 119.4 kB / 496.4 MB, free: 1.695 MB / 366.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1898, allocations: 4 kB / 496.4 MB, free: 1.691 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03717/0.227, allocations: 12.26 MB / 0.4967 GB, free: 5.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.11, allocations: 0.875 kB / 0.4967 GB, free: 5.582 MB / 382.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimplePlantSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimplePlantSymmetric.pipe 2>&1)