Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 100.2 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.001149/0.001149, allocations: 177.3 kB / 15.95 MB, free: 216 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.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.754/1.754, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.000583/0.0005831, allocations: 12.16 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2905, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.0254/0.316, allocations: 21.88 MB / 0.8085 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.7425/1.059, allocations: 133.6 MB / 0.9389 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004567/1.063, allocations: 65.55 kB / 0.939 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002501/1.066, allocations: 408.9 kB / 0.9394 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006005/1.072, allocations: 1.314 MB / 0.9407 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006797/1.079, allocations: 1.833 MB / 0.9425 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007292/1.086, allocations: 2.912 MB / 0.9453 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01238/1.098, allocations: 6.43 MB / 0.9516 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/1.103, allocations: 1.468 MB / 0.953 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004029/1.107, allocations: 1.652 MB / 0.9546 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008466/1.108, allocations: 183.8 kB / 0.9548 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002267/1.11, allocations: 0.5217 MB / 0.9553 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.00145/1.111, allocations: 1.262 MB / 0.9566 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/1.113, allocations: 0.8035 MB / 0.9573 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01038/1.123, allocations: 6.633 MB / 0.9638 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/1.124, allocations: 4 kB / 0.9638 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.076e-06/1.124, allocations: 0 / 0.9638 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002952/1.124, allocations: 1.469 kB / 0.9638 GB, free: 3.195 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: 1145 * Number of variables: 1145 Notification: Performance of Generate backend data structure: time 0.01021/1.134, allocations: 3.78 MB / 0.9675 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/1.134, allocations: 9.062 kB / 0.9675 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/1.146, allocations: 2.004 MB / 0.9695 GB, free: 64 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/1.153, allocations: 2.336 MB / 0.9718 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/1.153, allocations: 333.3 kB / 0.9721 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/1.154, allocations: 422.5 kB / 0.9725 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01571/1.17, allocations: 6.568 MB / 0.9789 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001049/1.17, allocations: 14.61 kB / 0.9789 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000505/1.171, allocations: 182 kB / 0.9791 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/1.171, allocations: 227.7 kB / 0.9793 GB, free: 13.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01491/1.186, allocations: 6.541 MB / 0.9857 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04357/1.229, allocations: 23.75 MB / 1.009 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01012/1.239, allocations: 4.177 MB / 1.013 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008942/1.24, allocations: 0.5099 MB / 1.013 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005177/1.246, allocations: 2.032 MB / 1.015 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=240): time 9.388e-06/1.246, allocations: 0 / 1.015 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=243): time 0.01939/1.265, allocations: 7.199 MB / 1.022 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002181/1.265, allocations: 402.9 kB / 1.023 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00332/1.269, allocations: 1.707 MB / 1.025 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006333/1.269, allocations: 67.2 kB / 1.025 GB, free: 3.848 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.271, allocations: 1.729 MB / 1.026 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001221/1.272, allocations: 0.8076 MB / 1.027 GB, free: 1.828 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004622/1.273, allocations: 51.38 kB / 1.027 GB, free: 1.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002616/1.273, allocations: 409.8 kB / 1.028 GB, free: 1.457 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004091/1.277, allocations: 1.547 MB / 1.029 GB, free: 436 kB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004666/1.282, allocations: 2.252 MB / 1.031 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/1.286, allocations: 1.833 MB / 1.033 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.187e-05/1.286, allocations: 4 kB / 1.033 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of matching and sorting (n=337) (initialization): time 0.01114/1.297, allocations: 4.127 MB / 1.037 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.003525/1.301, allocations: 7.251 MB / 1.044 GB, free: 2.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.355e-05/1.301, allocations: 20 kB / 1.044 GB, free: 2.57 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.247e-05/1.301, allocations: 39.95 kB / 1.044 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004388/1.306, allocations: 0.8085 MB / 1.045 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.462e-05/1.306, allocations: 43.86 kB / 1.045 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003607/1.309, allocations: 385.5 kB / 1.045 GB, free: 1.367 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00052/1.31, allocations: 136.4 kB / 1.046 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.31, allocations: 2.969 kB / 1.046 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009422/1.319, allocations: 3.697 MB / 1.049 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.266e-05/1.319, allocations: 16 kB / 1.049 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.9e-05/1.319, allocations: 36.06 kB / 1.049 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.323, allocations: 0.7686 MB / 1.05 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.731e-05/1.323, allocations: 47.8 kB / 1.05 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/1.327, allocations: 339.1 kB / 1.05 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005062/1.327, allocations: 140 kB / 1.05 GB, free: 13.47 MB / 0.7794 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.003238/1.331, allocations: 1.279 MB / 1.052 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.332, allocations: 233.2 kB / 1.052 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.344, allocations: 4.122 MB / 1.056 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/1.344, allocations: 28 kB / 1.056 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-05/1.344, allocations: 3.938 kB / 1.056 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.508e-05/1.344, allocations: 13.7 kB / 1.056 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02223/1.366, allocations: 8.895 MB / 1.065 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/1.366, allocations: 4 kB / 1.065 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003875/1.37, allocations: 0.7216 MB / 1.065 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-05/1.37, allocations: 9.859 kB / 1.065 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003956/1.371, allocations: 71.94 kB / 1.065 GB, free: 240 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.69e-05/1.371, allocations: 12 kB / 1.065 GB, free: 228 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.371, allocations: 3.938 kB / 1.065 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00965/1.38, allocations: 4.104 MB / 1.069 GB, free: 11.94 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/1.382, allocations: 0.751 MB / 1.07 GB, free: 11.16 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009121/1.383, allocations: 51.98 kB / 1.07 GB, free: 11.11 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.387, allocations: 282.1 kB / 1.071 GB, free: 10.84 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003886/1.387, allocations: 161.7 kB / 1.071 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002812/1.387, allocations: 91.92 kB / 1.071 GB, free: 10.59 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002496/1.39, allocations: 1.225 MB / 1.072 GB, free: 9.348 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.91e-07/1.39, allocations: 4 kB / 1.072 GB, free: 9.344 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006081/1.396, allocations: 1.256 MB / 1.073 GB, free: 8.09 MB / 0.795 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.001733/1.398, allocations: 0.6169 MB / 1.074 GB, free: 7.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01428/1.412, allocations: 5.686 MB / 1.079 GB, free: 1.969 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/1.412, allocations: 4 kB / 1.079 GB, free: 1.965 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004443/1.416, allocations: 1.831 MB / 1.081 GB, free: 140 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.42, allocations: 0.5093 MB / 1.082 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01823/1.438, allocations: 9.034 MB / 1.09 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00361/1.442, allocations: 2.611 MB / 1.093 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.007038/1.449, allocations: 1.261 MB / 1.094 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.45, allocations: 275.2 kB / 1.094 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of SimCode: time 8.12e-07/1.45, allocations: 4 kB / 1.094 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of Templates: time 0.0661/1.517, allocations: 38.18 MB / 1.132 GB, free: 12.5 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) Environment - environmentSimulation: