Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.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.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleSymmetric,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric",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.006437/0.006437, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001771/0.001771, allocations: 194.1 kB / 16.68 MB, free: 6.352 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1459/0.1459, allocations: 5.381 MB / 295.9 MB, free: 2.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 59.89 kB / 412.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2589, allocations: 50.62 MB / 462.9 MB, free: 21.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleSymmetric): time 0.003647/0.2626, allocations: 3.435 MB / 466.4 MB, free: 18.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.2643, allocations: 1.279 MB / 467.6 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001905/0.2645, allocations: 3.469 kB / 467.6 MB, free: 17.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.265, allocations: 220 kB / 467.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003213/0.2653, allocations: 152.8 kB / 468 MB, free: 17.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001863/0.2655, allocations: 120.7 kB / 468.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.266, allocations: 0.5791 MB / 468.7 MB, free: 17.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002132/0.2663, allocations: 124.1 kB / 468.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.2665, allocations: 212.4 kB / 469 MB, free: 17.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.2668, allocations: 256.1 kB / 469.3 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.161e-05/0.2668, allocations: 53.28 kB / 469.3 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.267, allocations: 63.64 kB / 469.4 MB, free: 17.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.71e-05/0.2671, allocations: 114 kB / 469.5 MB, free: 17.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2673, allocations: 235 kB / 469.7 MB, free: 16.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.2679, allocations: 0.544 MB / 470.3 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2679, allocations: 0 / 470.3 MB, free: 16.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2679, allocations: 0 / 470.3 MB, free: 16.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.2679, allocations: 1.281 kB / 470.3 MB, free: 16.65 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001722/0.2696, allocations: 0.8351 MB / 471.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2697, allocations: 9.625 kB / 471.1 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.2697, allocations: 64.56 kB / 471.2 MB, free: 16.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.2698, allocations: 46.66 kB / 471.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.2709, allocations: 0.4919 MB / 471.7 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.572e-05/0.2709, allocations: 27.47 kB / 471.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.271, allocations: 27.58 kB / 471.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.2716, allocations: 321.7 kB / 472.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.2716, allocations: 0 / 472.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.2716, allocations: 11.88 kB / 472.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-05/0.2717, allocations: 6.656 kB / 472.1 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007084/0.2724, allocations: 281.6 kB / 472.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.2745, allocations: 1.319 MB / 473.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006228/0.2752, allocations: 300.5 kB / 474 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/0.2756, allocations: 147.2 kB / 474.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2756, allocations: 1.812 kB / 474.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2756, allocations: 31.69 kB / 474.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.2756, allocations: 0 / 474.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003289/0.2789, allocations: 0.7543 MB / 474.9 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.279, allocations: 57.78 kB / 475 MB, free: 13.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.2794, allocations: 388.8 kB / 475.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.2795, allocations: 30.83 kB / 475.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2796, allocations: 220.6 kB / 475.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2796, allocations: 54.75 kB / 475.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.2798, allocations: 61.81 kB / 475.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.557e-05/0.2798, allocations: 341.2 kB / 476.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003075/0.2801, allocations: 117.5 kB / 476.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.2805, allocations: 159.6 kB / 476.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005555/0.281, allocations: 250.7 kB / 476.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.281, allocations: 1.312 kB / 476.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002364/0.2834, allocations: 0.6284 MB / 477.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.2834, allocations: 6.312 kB / 477.2 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.2834, allocations: 5.094 kB / 477.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/0.2844, allocations: 259.8 kB / 477.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.2846, allocations: 46.83 kB / 477.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/0.29, allocations: 3.923 MB / 481.4 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004091/0.2904, allocations: 48.06 kB / 481.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2905, allocations: 9.625 kB / 481.5 MB, free: 9 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 (26): * Single equations (assignments): 24 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001603/0.2906, allocations: 151.6 kB / 481.6 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.2907, allocations: 44.55 kB / 481.7 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.235e-05/0.2908, allocations: 36.31 kB / 481.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-06/0.2908, allocations: 1.469 kB / 481.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.2908, allocations: 1.25 kB / 481.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.2908, allocations: 0 / 481.7 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002474/0.2933, allocations: 0.938 MB / 482.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.2933, allocations: 1.094 kB / 482.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.2934, allocations: 26.48 kB / 482.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004062/0.2938, allocations: 183.3 kB / 482.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.2938, allocations: 1.344 kB / 482.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.2974, allocations: 2.146 MB / 485 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2974, allocations: 1.094 kB / 485 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.2994, allocations: 0.5727 MB / 485.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.2995, allocations: 128.2 kB / 485.7 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.2996, allocations: 5.531 kB / 485.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.2999, allocations: 27.28 kB / 485.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.2999, allocations: 21.27 kB / 485.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.566e-05/0.3, allocations: 3.406 kB / 485.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002524/0.3002, allocations: 272.2 kB / 486 MB, free: 5.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3002, allocations: 1.469 kB / 486 MB, free: 5.496 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004798/0.3007, allocations: 96.8 kB / 486.1 MB, free: 5.48 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 (13): * Single equations (assignments): 12 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00213/0.3029, allocations: 1.111 MB / 487.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.3039, allocations: 0.5167 MB / 487.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3039, allocations: 0 / 487.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.3043, allocations: 222.2 kB / 488 MB, free: 4.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/0.3048, allocations: 81.69 kB / 488.1 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.3122, allocations: 3.812 MB / 491.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.3124, allocations: 0.7853 MB / 492.6 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.3126, allocations: 43.7 kB / 492.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.3127, allocations: 115.2 kB / 492.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3127, allocations: 5.031 kB / 492.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03851/0.3512, allocations: 10.23 MB / 0.4913 GB, free: 8.281 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.31, allocations: 10.61 kB / 0.4913 GB, free: 8.277 MB / 366.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleSymmetric.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleSymmetric.pipe 2>&1)