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.485/1.485, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 177.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009789/0.0009786, allocations: 88.53 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003583, allocations: 20.91 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2436, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.01971/0.2634, allocations: 21.88 MB / 0.9215 GB, free: 41.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.4391, allocations: 133.6 MB / 1.052 GB, free: 3.957 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003932/0.4431, allocations: 63.69 kB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002646/0.4458, allocations: 412.8 kB / 1.052 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007286/0.4531, allocations: 1.311 MB / 1.054 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007569/0.4607, allocations: 1.839 MB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.5953/1.056, allocations: 2.906 MB / 1.058 GB, free: 9.301 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01202/1.068, allocations: 6.411 MB / 1.065 GB, free: 8.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004105/1.072, allocations: 1.466 MB / 1.066 GB, free: 8.371 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005078/1.077, allocations: 1.662 MB / 1.068 GB, free: 8.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001376/1.079, allocations: 185 kB / 1.068 GB, free: 8.359 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/1.082, allocations: 0.521 MB / 1.068 GB, free: 8.355 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.002627/1.084, allocations: 1.262 MB / 1.07 GB, free: 8.355 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.002948/1.087, allocations: 0.7988 MB / 1.07 GB, free: 8.324 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.01199/1.099, allocations: 6.642 MB / 1.077 GB, free: 8.012 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.099, allocations: 0 / 1.077 GB, free: 8.012 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.967e-06/1.099, allocations: 0 / 1.077 GB, free: 8.012 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003807/1.1, allocations: 1.406 kB / 1.077 GB, free: 8.012 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01393/1.114, allocations: 3.775 MB / 1.081 GB, free: 6.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.114, allocations: 11.97 kB / 1.081 GB, free: 6.297 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003119/1.117, allocations: 0.611 MB / 1.081 GB, free: 6.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/1.131, allocations: 2.007 MB / 1.083 GB, free: 5.934 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/1.138, allocations: 2.335 MB / 1.085 GB, free: 5.434 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003509/1.139, allocations: 326.6 kB / 1.086 GB, free: 5.422 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002217/1.141, allocations: 426.6 kB / 1.086 GB, free: 5.418 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/1.163, allocations: 6.574 MB / 1.093 GB, free: 4.789 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/1.164, allocations: 9.344 kB / 1.093 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001737/1.165, allocations: 190.8 kB / 1.093 GB, free: 4.785 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002588/1.166, allocations: 220.4 kB / 1.093 GB, free: 4.777 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/1.186, allocations: 6.544 MB / 1.099 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04753/1.233, allocations: 23.76 MB / 1.123 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.243, allocations: 4.18 MB / 1.127 GB, free: 4.664 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/1.244, allocations: 0.5098 MB / 1.127 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004843/1.249, allocations: 2.019 MB / 1.129 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=240): time 4.349e-06/1.249, allocations: 0 / 1.129 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=243): time 0.0163/1.266, allocations: 7.209 MB / 1.136 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002257/1.266, allocations: 396.4 kB / 1.136 GB, free: 336 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/1.268, allocations: 1.717 MB / 1.138 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0005967/1.269, allocations: 67.64 kB / 1.138 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00171/1.271, allocations: 1.738 MB / 1.14 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.001252/1.272, allocations: 0.8086 MB / 1.141 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/1.272, allocations: 52.59 kB / 1.141 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.272, allocations: 410.3 kB / 1.141 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.276, allocations: 1.545 MB / 1.143 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.28, allocations: 2.251 MB / 1.145 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/1.285, allocations: 1.833 MB / 1.147 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/1.285, allocations: 8 kB / 1.147 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.009346/1.294, allocations: 4.13 MB / 1.151 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.002428/1.297, allocations: 7.255 MB / 1.158 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/1.297, allocations: 19.95 kB / 1.158 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.668e-05/1.297, allocations: 32 kB / 1.158 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/1.301, allocations: 0.811 MB / 1.159 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.571e-05/1.301, allocations: 40.7 kB / 1.159 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003311/1.304, allocations: 384.2 kB / 1.159 GB, free: 284 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/1.304, allocations: 140.3 kB / 1.159 GB, free: 168 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/1.304, allocations: 4 kB / 1.159 GB, free: 164 kB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008677/1.313, allocations: 3.691 MB / 1.163 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.085e-05/1.313, allocations: 20 kB / 1.163 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/1.313, allocations: 32 kB / 1.163 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003919/1.317, allocations: 0.7696 MB / 1.164 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.389e-05/1.317, allocations: 41.89 kB / 1.164 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.321, allocations: 343.4 kB / 1.164 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/1.321, allocations: 130.5 kB / 1.164 GB, free: 12.55 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (337): * Single equations (assignments): 337 * 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.003028/1.324, allocations: 1.277 MB / 1.165 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000706/1.325, allocations: 237.1 kB / 1.166 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009954/1.335, allocations: 4.137 MB / 1.17 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.335, allocations: 24 kB / 1.17 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/1.335, allocations: 4 kB / 1.17 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.964e-05/1.335, allocations: 19.52 kB / 1.17 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01901/1.354, allocations: 8.887 MB / 1.178 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/1.354, allocations: 0 / 1.178 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/1.358, allocations: 0.7198 MB / 1.179 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.54e-05/1.358, allocations: 12 kB / 1.179 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002714/1.358, allocations: 74.81 kB / 1.179 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/1.358, allocations: 12 kB / 1.179 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.358, allocations: 6.906 kB / 1.179 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009087/1.367, allocations: 4.099 MB / 1.183 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/1.369, allocations: 0.7567 MB / 1.184 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004909/1.37, allocations: 45.19 kB / 1.184 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002903/1.373, allocations: 278.5 kB / 1.184 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003383/1.373, allocations: 157 kB / 1.184 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.373, allocations: 90.5 kB / 1.184 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002568/1.376, allocations: 1.229 MB / 1.186 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.6e-07/1.376, allocations: 0 / 1.186 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007069/1.383, allocations: 1.262 MB / 1.187 GB, free: 11.58 MB / 0.7605 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) * Number of clocked states: 0 () * 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.01592/1.399, allocations: 5.754 MB / 1.192 GB, free: 7.047 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.414, allocations: 5.683 MB / 1.198 GB, free: 3.168 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.414, allocations: 4 kB / 1.198 GB, free: 3.164 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004741/1.419, allocations: 1.828 MB / 1.2 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003546/1.422, allocations: 0.5234 MB / 1.2 GB, free: 1.547 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06279/1.485, allocations: 32.77 MB / 1.232 GB, free: 3.488 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003836/1.489, allocations: 2.617 MB / 1.235 GB, free: 1.094 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0089/1.498, allocations: 1.265 MB / 1.236 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003742/1.502, allocations: 1.573 MB / 1.238 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of SimCode: time 1.453e-06/1.502, allocations: 0 / 1.238 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1109/1.613, allocations: 63.87 MB / 1.3 GB, free: 172 kB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/1.613, allocations: 261.5 kB / 1.3 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.702/5.315, allocations: 0 / 1.3 GB, free: 15.81 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)