Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.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.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleCell,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell",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.007981/0.007981, allocations: 102.7 kB / 15.73 MB, free: 5.961 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.001973/0.001973, allocations: 190 kB / 16.67 MB, free: 5.883 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 4.141 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1376/0.1376, allocations: 5.382 MB / 295.9 MB, free: 2.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 67.89 kB / 412.3 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2452, allocations: 50.61 MB / 462.9 MB, free: 21.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleCell): time 0.004323/0.2495, allocations: 3.381 MB / 466.3 MB, free: 18.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002223/0.2518, allocations: 1.262 MB / 467.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002728/0.2521, allocations: 3.438 kB / 467.6 MB, free: 18.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006277/0.2527, allocations: 233.3 kB / 467.8 MB, free: 17.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000413/0.2532, allocations: 161.2 kB / 467.9 MB, free: 17.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.2534, allocations: 112.3 kB / 468.1 MB, free: 17.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005428/0.254, allocations: 0.5678 MB / 468.6 MB, free: 17.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.2542, allocations: 121.4 kB / 468.7 MB, free: 17.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.2545, allocations: 214 kB / 469 MB, free: 17.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003304/0.2548, allocations: 247 kB / 469.2 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.038e-05/0.2549, allocations: 56.19 kB / 469.2 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.255, allocations: 59.16 kB / 469.3 MB, free: 17.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.2551, allocations: 107.2 kB / 469.4 MB, free: 17.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002174/0.2554, allocations: 226 kB / 469.6 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006351/0.256, allocations: 0.5259 MB / 470.2 MB, free: 16.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.256, allocations: 4 kB / 470.2 MB, free: 16.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.935e-06/0.256, allocations: 0 / 470.2 MB, free: 16.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2561, allocations: 5.875 kB / 470.2 MB, free: 16.68 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001981/0.258, allocations: 0.8066 MB / 471 MB, free: 16.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2581, allocations: 9.625 kB / 471 MB, free: 16.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.2582, allocations: 63.06 kB / 471 MB, free: 16.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.2582, allocations: 41.7 kB / 471.1 MB, free: 16.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.2593, allocations: 488.2 kB / 471.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.2593, allocations: 22.12 kB / 471.6 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.257e-05/0.2594, allocations: 21.75 kB / 471.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005282/0.2599, allocations: 301.8 kB / 471.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2599, allocations: 1.625 kB / 471.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.639e-05/0.26, allocations: 5.438 kB / 471.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.26, allocations: 10.31 kB / 471.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.2605, allocations: 247.6 kB / 472.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2625, allocations: 1.267 MB / 473.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.263, allocations: 260.2 kB / 473.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.2633, allocations: 117.7 kB / 473.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.2633, allocations: 6.25 kB / 473.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.2633, allocations: 32.44 kB / 473.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.2633, allocations: 0 / 473.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.003318/0.2667, allocations: 0.7296 MB / 474.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.986e-05/0.2667, allocations: 52.72 kB / 474.6 MB, free: 14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004241/0.2671, allocations: 387.8 kB / 475 MB, free: 13.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2672, allocations: 30.7 kB / 475 MB, free: 13.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.2673, allocations: 217.7 kB / 475.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2673, allocations: 44.09 kB / 475.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/0.2674, allocations: 53.86 kB / 475.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.9e-05/0.2675, allocations: 341.3 kB / 475.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.2678, allocations: 99.94 kB / 475.8 MB, free: 13.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.268, allocations: 145.4 kB / 475.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.2685, allocations: 208.8 kB / 476.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2685, allocations: 1.531 kB / 476.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.002217/0.2708, allocations: 0.5539 MB / 476.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.2708, allocations: 5.875 kB / 476.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.2708, allocations: 1.188 kB / 476.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008373/0.2716, allocations: 247.5 kB / 476.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.2719, allocations: 35.88 kB / 476.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.2765, allocations: 3.795 MB / 480.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.277, allocations: 48.41 kB / 480.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.277, allocations: 10.5 kB / 480.8 MB, free: 9.348 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): 20 * 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.0001682/0.2772, allocations: 140.9 kB / 480.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.2773, allocations: 36.03 kB / 481 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.194e-05/0.2773, allocations: 37.02 kB / 481 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2774, allocations: 1.094 kB / 481 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.2774, allocations: 3.938 kB / 481 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2774, allocations: 1.031 kB / 481 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002055/0.2794, allocations: 0.8446 MB / 481.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2794, allocations: 0.9375 kB / 481.9 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.589e-05/0.2795, allocations: 25.3 kB / 481.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.2799, allocations: 162.8 kB / 482 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2799, allocations: 1.219 kB / 482 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002881/0.2828, allocations: 2.011 MB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2828, allocations: 1.062 kB / 484.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.2844, allocations: 0.5019 MB / 484.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001346/0.2846, allocations: 134.9 kB / 484.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.2846, allocations: 1.094 kB / 484.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002608/0.2849, allocations: 21.08 kB / 484.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2849, allocations: 12.45 kB / 484.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.285, allocations: 2.281 kB / 484.7 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002796/0.2852, allocations: 273 kB / 485 MB, free: 5.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2852, allocations: 4 kB / 485 MB, free: 5.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.2858, allocations: 94.25 kB / 485.1 MB, free: 5.969 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 (9): * 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: 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.001832/0.2876, allocations: 1.033 MB / 486.1 MB, free: 5.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008808/0.2885, allocations: 486.7 kB / 486.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2885, allocations: 9.562 kB / 486.6 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002592/0.2888, allocations: 188.4 kB / 486.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.2893, allocations: 90.2 kB / 486.9 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006729/0.296, allocations: 3.615 MB / 490.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.2962, allocations: 0.7814 MB / 491.3 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.2964, allocations: 36.61 kB / 491.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2965, allocations: 111.8 kB / 491.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2966, allocations: 0 / 491.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.3269, allocations: 9.769 MB / 0.4894 GB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.73, allocations: 16.12 kB / 0.4895 GB, free: 10.11 MB / 366.1 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleCell.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleCell.pipe 2>&1)