Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001091, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 221.4 MB / 234.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008428/0.000843, allocations: 95.8 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02467/0.02467, allocations: 5.283 MB / 341.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.203e-05, allocations: 0 / 403.8 MB, free: 62.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/0.08469, allocations: 51.61 MB / 455.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.423, allocations: 93.5 MB / 0.5361 GB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4233, allocations: 71.53 kB / 0.5361 GB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07556/0.4989, allocations: 30.03 MB / 0.5655 GB, free: 4.387 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4989, allocations: 0 / 0.5655 GB, free: 4.387 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.611e-05/0.499, allocations: 24 kB / 0.5655 GB, free: 4.363 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002517/0.5015, allocations: 1.161 MB / 0.5666 GB, free: 3.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5016, allocations: 8.031 kB / 0.5666 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001664/0.5017, allocations: 140.8 kB / 0.5668 GB, free: 3.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.5032, allocations: 284.4 kB / 0.567 GB, free: 2.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007592/0.504, allocations: 0.5241 MB / 0.5675 GB, free: 2.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.504, allocations: 69.44 kB / 0.5676 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.5042, allocations: 96.39 kB / 0.5677 GB, free: 2.336 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.5058, allocations: 0.9673 MB / 0.5686 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.5058, allocations: 4 kB / 0.5686 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/0.5059, allocations: 35.19 kB / 0.5687 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/0.5059, allocations: 24 kB / 0.5687 GB, free: 1.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.5074, allocations: 0.8643 MB / 0.5695 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.514, allocations: 4.024 MB / 0.5735 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001934/0.516, allocations: 1.534 MB / 0.575 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004101/0.5164, allocations: 242.9 kB / 0.5752 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.5165, allocations: 93.08 kB / 0.5753 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005502/0.5171, allocations: 320.4 kB / 0.5756 GB, free: 11.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=50): time 2.725e-06/0.5171, allocations: 0 / 0.5756 GB, free: 11.19 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.00338/0.5205, allocations: 0.8658 MB / 0.5764 GB, free: 10.3 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.5206, allocations: 166.7 kB / 0.5766 GB, free: 10.11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007315/0.5214, allocations: 495.7 kB / 0.5771 GB, free: 9.613 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.419e-05/0.5214, allocations: 37.7 kB / 0.5771 GB, free: 9.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/0.5218, allocations: 458.3 kB / 0.5775 GB, free: 9.113 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/0.522, allocations: 165.6 kB / 0.5777 GB, free: 8.949 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.5221, allocations: 16 kB / 0.5777 GB, free: 8.934 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.5223, allocations: 366.7 kB / 0.5781 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.5227, allocations: 225.5 kB / 0.5783 GB, free: 8.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.5232, allocations: 428.2 kB / 0.5787 GB, free: 7.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005282/0.5238, allocations: 312.8 kB / 0.579 GB, free: 7.535 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5238, allocations: 4 kB / 0.579 GB, free: 7.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0016/0.5254, allocations: 0.8562 MB / 0.5798 GB, free: 6.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.627e-05/0.5254, allocations: 39.27 kB / 0.5799 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5255, allocations: 7.938 kB / 0.5799 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004814/0.5259, allocations: 88.78 kB / 0.58 GB, free: 6.516 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/0.5267, allocations: 191.9 kB / 0.5801 GB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.5283, allocations: 1.546 MB / 0.5817 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.529, allocations: 99.19 kB / 0.5817 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.5291, allocations: 36.08 kB / 0.5818 GB, free: 4.512 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.5293, allocations: 186.4 kB / 0.582 GB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.5294, allocations: 59.25 kB / 0.582 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003409/0.5328, allocations: 0.96 MB / 0.583 GB, free: 3.285 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.5329, allocations: 7.953 kB / 0.583 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5329, allocations: 0 / 0.583 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.607e-06/0.5329, allocations: 7.938 kB / 0.583 GB, free: 3.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.5355, allocations: 1.723 MB / 0.5847 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5355, allocations: 0 / 0.5847 GB, free: 1.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.5358, allocations: 79.92 kB / 0.5847 GB, free: 1.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/0.5382, allocations: 0.5377 MB / 0.5853 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.5382, allocations: 19.92 kB / 0.5853 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009192/0.5392, allocations: 0.8648 MB / 0.5861 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5392, allocations: 0 / 0.5861 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001478/0.5407, allocations: 1.02 MB / 0.5871 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003231/0.541, allocations: 204.2 kB / 0.5873 GB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.5411, allocations: 19.88 kB / 0.5873 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.5416, allocations: 44.03 kB / 0.5874 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.5416, allocations: 27.97 kB / 0.5874 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.687e-05/0.5417, allocations: 23.97 kB / 0.5874 GB, free: 14.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005282/0.5422, allocations: 369.6 kB / 0.5878 GB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5422, allocations: 0 / 0.5878 GB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009134/0.5432, allocations: 275 kB / 0.588 GB, free: 13.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002154/0.5453, allocations: 1.821 MB / 0.5898 GB, free: 12.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5467, allocations: 0.7419 MB / 0.5905 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5467, allocations: 3.938 kB / 0.5905 GB, free: 11.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.5472, allocations: 344.7 kB / 0.5909 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.5477, allocations: 82.17 kB / 0.5909 GB, free: 10.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5498, allocations: 1.089 MB / 0.592 GB, free: 9.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.5504, allocations: 0.9614 MB / 0.5929 GB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003221/0.5507, allocations: 72.86 kB / 0.593 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003876/0.5511, allocations: 299.3 kB / 0.5933 GB, free: 8.348 MB / 410.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5511, allocations: 0 / 0.5933 GB, free: 8.348 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03114/0.5823, allocations: 15.38 MB / 0.6083 GB, free: 9.145 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.5825, allocations: 169.5 kB / 0.6085 GB, free: 8.918 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.514/3.096, allocations: 0 / 0.6085 GB, free: 8.918 MB / 426.7 MB (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1)