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.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001302/0.001302, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.742 MB / 174.1 MB 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: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005989/0.000599, allocations: 19.98 kB / 0.6241 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6861/0.6868, allocations: 106.3 MB / 0.728 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.02535/0.7122, allocations: 22.9 MB / 0.7503 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1721/0.8843, allocations: 133.8 MB / 0.881 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003577/0.888, allocations: 67.69 kB / 0.8811 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.8906, allocations: 436.7 kB / 0.8815 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006237/0.8969, allocations: 1.326 MB / 0.8828 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006503/0.9034, allocations: 1.856 MB / 0.8846 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008135/0.9116, allocations: 3.203 MB / 0.8878 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/0.9273, allocations: 6.896 MB / 0.8945 GB, free: 364 kB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004241/0.9316, allocations: 1.58 MB / 0.896 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00432/0.9359, allocations: 1.789 MB / 0.8978 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.9376, allocations: 196 kB / 0.898 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004235/0.9419, allocations: 0.5656 MB / 0.8985 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00413/0.946, allocations: 1.391 MB / 0.8999 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.9493, allocations: 0.8665 MB / 0.9007 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.9604, allocations: 7.22 MB / 0.9078 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.9605, allocations: 4 kB / 0.9078 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9605, allocations: 0 / 0.9078 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003628/0.9608, allocations: 0 / 0.9078 GB, free: 2.703 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1228 * Number of variables: 1228 Notification: Performance of Generate backend data structure: time 0.5725/1.533, allocations: 3.999 MB / 0.9117 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.533, allocations: 9.219 kB / 0.9117 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01633/1.55, allocations: 2.066 MB / 0.9137 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009247/1.559, allocations: 2.518 MB / 0.9162 GB, free: 172 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/1.56, allocations: 351 kB / 0.9165 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002787/1.563, allocations: 457.2 kB / 0.9169 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02785/1.59, allocations: 7.064 MB / 0.9238 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001661/1.591, allocations: 7.906 kB / 0.9238 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008343/1.592, allocations: 199.8 kB / 0.924 GB, free: 168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/1.592, allocations: 262.6 kB / 0.9243 GB, free: 168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/1.61, allocations: 6.886 MB / 0.931 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03831/1.648, allocations: 26.97 MB / 0.9573 GB, free: 135.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008294/1.656, allocations: 4.298 MB / 0.9615 GB, free: 131.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007365/1.657, allocations: 0.5094 MB / 0.962 GB, free: 130.9 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003945/1.661, allocations: 2.233 MB / 0.9642 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=254): time 5.31e-06/1.661, allocations: 0 / 0.9642 GB, free: 128.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257): time 0.01393/1.675, allocations: 7.914 MB / 0.972 GB, free: 120.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.675, allocations: 397.8 kB / 0.9723 GB, free: 120.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.678, allocations: 1.781 MB / 0.9741 GB, free: 118.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.678, allocations: 73.7 kB / 0.9741 GB, free: 118.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/1.679, allocations: 1.827 MB / 0.9759 GB, free: 116.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007589/1.68, allocations: 0.8483 MB / 0.9768 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.68, allocations: 56 kB / 0.9768 GB, free: 115.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.68, allocations: 415.5 kB / 0.9772 GB, free: 115.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00347/1.684, allocations: 1.664 MB / 0.9788 GB, free: 113.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003786/1.688, allocations: 2.363 MB / 0.9811 GB, free: 110.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/1.691, allocations: 1.951 MB / 0.983 GB, free: 108.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/1.691, allocations: 4 kB / 0.983 GB, free: 108.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.008757/1.7, allocations: 4.383 MB / 0.9873 GB, free: 104.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.001577/1.702, allocations: 6.941 MB / 0.9941 GB, free: 96.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.192e-05/1.702, allocations: 16 kB / 0.9941 GB, free: 96.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.616e-05/1.702, allocations: 32 kB / 0.9942 GB, free: 96.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004137/1.706, allocations: 0.8384 MB / 0.995 GB, free: 95.97 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.64e-05/1.706, allocations: 39.91 kB / 0.995 GB, free: 95.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003711/1.71, allocations: 403.7 kB / 0.9954 GB, free: 95.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005483/1.71, allocations: 143.5 kB / 0.9955 GB, free: 95.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/1.71, allocations: 3.938 kB / 0.9955 GB, free: 95.4 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009234/1.72, allocations: 3.833 MB / 0.9993 GB, free: 91.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.527e-05/1.72, allocations: 24.06 kB / 0.9993 GB, free: 91.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.402e-05/1.72, allocations: 32 kB / 0.9993 GB, free: 91.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003569/1.723, allocations: 0.7761 MB / 1 GB, free: 90.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.4e-05/1.724, allocations: 47.81 kB / 1 GB, free: 90.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/1.727, allocations: 346.2 kB / 1 GB, free: 90.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/1.727, allocations: 135.9 kB / 1.001 GB, free: 90.17 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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 (347): * Single equations (assignments): 347 * 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.003153/1.73, allocations: 1.351 MB / 1.002 GB, free: 88.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008025/1.731, allocations: 245 kB / 1.002 GB, free: 88.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01001/1.741, allocations: 4.533 MB / 1.007 GB, free: 83.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/1.741, allocations: 28 kB / 1.007 GB, free: 83.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.741, allocations: 3.953 kB / 1.007 GB, free: 83.94 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/1.741, allocations: 15.95 kB / 1.007 GB, free: 83.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/1.757, allocations: 9.63 MB / 1.016 GB, free: 74.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/1.757, allocations: 4 kB / 1.016 GB, free: 74.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00363/1.761, allocations: 0.7723 MB / 1.017 GB, free: 73.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.578e-05/1.761, allocations: 12 kB / 1.017 GB, free: 73.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.761, allocations: 75.94 kB / 1.017 GB, free: 73.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-05/1.761, allocations: 11.94 kB / 1.017 GB, free: 73.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.761, allocations: 4 kB / 1.017 GB, free: 73.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007791/1.769, allocations: 4.466 MB / 1.021 GB, free: 68.7 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/1.771, allocations: 0.8326 MB / 1.022 GB, free: 67.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000495/1.772, allocations: 48 kB / 1.022 GB, free: 67.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002558/1.774, allocations: 291.6 kB / 1.022 GB, free: 67.51 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/1.774, allocations: 169.8 kB / 1.023 GB, free: 67.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.775, allocations: 91.94 kB / 1.023 GB, free: 67.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001621/1.776, allocations: 1.283 MB / 1.024 GB, free: 65.95 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.776, allocations: 0 / 1.024 GB, free: 65.95 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.004292/1.781, allocations: 1.344 MB / 1.025 GB, free: 64.62 MB / 0.7169 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 (276): * Single equations (assignments): 274 * 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.001392/1.782, allocations: 0.6222 MB / 1.026 GB, free: 64.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01197/1.794, allocations: 6.074 MB / 1.032 GB, free: 58.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.794, allocations: 4 kB / 1.032 GB, free: 58.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00389/1.798, allocations: 2.012 MB / 1.034 GB, free: 56.08 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00319/1.801, allocations: 0.5795 MB / 1.034 GB, free: 55.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/1.816, allocations: 9.785 MB / 1.044 GB, free: 45.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002014/1.818, allocations: 2.77 MB / 1.047 GB, free: 42.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.005645/1.823, allocations: 1.278 MB / 1.048 GB, free: 41.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.824, allocations: 279.2 kB / 1.048 GB, free: 41.3 MB / 0.7169 GB Notification: Performance of SimCode: time 1.883e-06/1.824, allocations: 0 / 1.048 GB, free: 41.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.06711/1.892, allocations: 41.64 MB / 1.089 GB, free: 15.95 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) Environment - environmentSimulation: