Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.58/1.58, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 180.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008891/0.0008892, allocations: 94.48 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.837e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2559, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.655/6.911, allocations: 2.239 GB / 3.131 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/6.911, allocations: 102.2 kB / 3.131 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.003/7.915, allocations: 162.8 MB / 3.29 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.657e-06/7.915, allocations: 4.312 kB / 3.29 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004316/7.915, allocations: 98.94 kB / 3.29 GB, free: 232.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1041 * Number of variables: 1041 Notification: Performance of Generate backend data structure: time 0.01301/7.928, allocations: 3.421 MB / 3.293 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/7.928, allocations: 9.156 kB / 3.293 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002693/7.931, allocations: 0.5581 MB / 3.294 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01265/7.944, allocations: 1.726 MB / 3.295 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/7.951, allocations: 2.21 MB / 3.298 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004598/7.951, allocations: 294.6 kB / 3.298 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002093/7.953, allocations: 394 kB / 3.298 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01625/7.97, allocations: 5.541 MB / 3.304 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/7.97, allocations: 5.406 kB / 3.304 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000768/7.97, allocations: 169 kB / 3.304 GB, free: 229.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002067/7.971, allocations: 193.4 kB / 3.304 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/7.982, allocations: 5.265 MB / 3.309 GB, free: 229.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03792/8.02, allocations: 22.85 MB / 3.331 GB, free: 219.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006628/8.027, allocations: 3.489 MB / 3.335 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/8.03, allocations: 1.592 MB / 3.336 GB, free: 217.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008415/8.031, allocations: 0.5175 MB / 3.337 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003611/8.034, allocations: 1.779 MB / 3.339 GB, free: 216 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=240): time 8.396e-06/8.034, allocations: 0 / 3.339 GB, free: 216 MB / 0.8698 GB Notification: Performance of matching and sorting (n=243): time 0.0132/8.047, allocations: 5.06 MB / 3.344 GB, free: 213.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001747/8.048, allocations: 443.1 kB / 3.344 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003247/8.051, allocations: 1.503 MB / 3.345 GB, free: 212.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007386/8.052, allocations: 69.3 kB / 3.346 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001703/8.053, allocations: 1.589 MB / 3.347 GB, free: 210.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/8.055, allocations: 0.8132 MB / 3.348 GB, free: 210.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005851/8.055, allocations: 57.81 kB / 3.348 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000242/8.056, allocations: 415.4 kB / 3.348 GB, free: 209.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/8.058, allocations: 1.297 MB / 3.35 GB, free: 209.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/8.061, allocations: 2.008 MB / 3.352 GB, free: 208 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002959/8.064, allocations: 1.593 MB / 3.353 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-05/8.064, allocations: 7.75 kB / 3.353 GB, free: 207.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=336) (initialization): time 0.007866/8.072, allocations: 3.619 MB / 3.357 GB, free: 206 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001735/8.074, allocations: 7.136 MB / 3.364 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-05/8.074, allocations: 20.78 kB / 3.364 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-05/8.074, allocations: 35.88 kB / 3.364 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/8.079, allocations: 0.7928 MB / 3.364 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.421e-05/8.079, allocations: 48.45 kB / 3.365 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/8.083, allocations: 372.2 kB / 3.365 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008505/8.084, allocations: 137.7 kB / 3.365 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/8.084, allocations: 3.875 kB / 3.365 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007883/8.092, allocations: 3.195 MB / 3.368 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.574e-05/8.092, allocations: 19.55 kB / 3.368 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.603e-05/8.092, allocations: 33.59 kB / 3.368 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004156/8.096, allocations: 0.7626 MB / 3.369 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.993e-05/8.096, allocations: 41.52 kB / 3.369 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003721/8.1, allocations: 341.2 kB / 3.369 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/8.101, allocations: 131.4 kB / 3.369 GB, free: 197.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 336 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001359/8.102, allocations: 270.2 kB / 3.37 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/8.103, allocations: 234.8 kB / 3.37 GB, free: 196.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00831/8.111, allocations: 3.634 MB / 3.373 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/8.111, allocations: 24.84 kB / 3.373 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/8.111, allocations: 3 kB / 3.373 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.515e-05/8.111, allocations: 19.8 kB / 3.373 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/8.129, allocations: 8.138 MB / 3.381 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/8.129, allocations: 3.906 kB / 3.381 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00394/8.133, allocations: 0.716 MB / 3.382 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.801e-05/8.133, allocations: 10.88 kB / 3.382 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006014/8.133, allocations: 66.66 kB / 3.382 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.582e-05/8.133, allocations: 15.53 kB / 3.382 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/8.133, allocations: 7.969 kB / 3.382 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/8.14, allocations: 3.598 MB / 3.386 GB, free: 189.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002327/8.143, allocations: 0.7647 MB / 3.387 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/8.144, allocations: 45.56 kB / 3.387 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003537/8.147, allocations: 269.3 kB / 3.387 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005363/8.148, allocations: 160.8 kB / 3.387 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004449/8.148, allocations: 91.84 kB / 3.387 GB, free: 189.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002986/8.151, allocations: 1.219 MB / 3.388 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.41e-07/8.151, allocations: 0 / 3.388 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007862/8.159, allocations: 1.316 MB / 3.39 GB, free: 188.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (262): * Single equations (assignments): 260 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009722/8.169, allocations: 5.255 MB / 3.395 GB, free: 185.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009304/8.178, allocations: 4.991 MB / 3.4 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/8.178, allocations: 0 / 3.4 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002721/8.181, allocations: 1.584 MB / 3.401 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/8.185, allocations: 0.5209 MB / 3.402 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/8.205, allocations: 6.524 MB / 3.408 GB, free: 173.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00337/8.209, allocations: 2.534 MB / 3.41 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.008374/8.217, allocations: 1.401 MB / 3.412 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003011/8.22, allocations: 1.429 MB / 3.413 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.212e-06/8.22, allocations: 0 / 3.413 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1018/8.322, allocations: 65.94 MB / 3.478 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000182/8.322, allocations: 232.9 kB / 3.478 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.132/12.45, allocations: 4 kB / 3.478 GB, free: 110.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1)